Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nxdblmbackendpython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Alexander Perez
nxdblmbackendpython
Commits
6c66f5e3
Commit
6c66f5e3
authored
5 years ago
by
Quentin Codelupi
Browse files
Options
Downloads
Patches
Plain Diff
[update] routine pull all known devices
parent
6ff599e5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
routine_pull.py
+2
-2
2 additions, 2 deletions
routine_pull.py
with
2 additions
and
2 deletions
routine_pull.py
+
2
−
2
View file @
6c66f5e3
...
...
@@ -71,7 +71,7 @@ def routine_pull(_start_fill=None, _end_fill=None):
last_fll_pulled
=
_start_fill
-
1
# Select only the first 6 devices Cause: not all device works properly with NXCALS yet
gcursor
.
execute
(
'
select name from Device
limit 6
'
)
gcursor
.
execute
(
'
select name from Device
'
)
devices_request
=
gcursor
.
fetchall
()
devices
=
[]
for
device
in
devices_request
:
...
...
@@ -80,7 +80,7 @@ def routine_pull(_start_fill=None, _end_fill=None):
gcursor
.
close
()
mydb
.
close
()
fill_number
=
74
7
2
fill_number
=
74
9
2
fill_infos
=
ldb
.
getLHCFillData
(
fill_number
,
False
)
start_pull
(
fill_infos
,
devices
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment