Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
9c972633
Commit
9c972633
authored
5 years ago
by
Karim Ahmed
Browse files
Options
Downloads
Patches
Plain Diff
comment res in webservice as requested in the MR
parent
f718e561
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!196
avoid using reservation in the cmd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webservice/webservice.py
+4
-2
4 additions, 2 deletions
webservice/webservice.py
with
4 additions
and
2 deletions
webservice/webservice.py
+
4
−
2
View file @
9c972633
...
@@ -646,8 +646,10 @@ async def server_runner(config, mode):
...
@@ -646,8 +646,10 @@ async def server_runner(config, mode):
cmd
=
[
"
python
"
,
"
-m
"
,
"
xfel_calibrate.calibrate
"
,
cmd
=
[
"
python
"
,
"
-m
"
,
"
xfel_calibrate.calibrate
"
,
detector
,
"
DARK
"
,
'
--priority
'
,
priority
]
detector
,
"
DARK
"
,
'
--priority
'
,
priority
]
if
req_res
:
# Avoid giving a reservation parameter after the
cmd
+=
[
'
--reservation
'
,
req_res
]
# ITDM changes for giving xcal high priority by default
#if req_res:
# cmd += ['--reservation', req_res]
run_config
=
[]
run_config
=
[]
for
typ
,
run
in
run_mapping
.
items
():
for
typ
,
run
in
run_mapping
.
items
():
...
...
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