Skip to content
Snippets Groups Projects

[Webservice] Enable two runs detectors

Merged Karim Ahmed requested to merge enable_two_runs_detectors into master
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
+ 3
2
@@ -334,7 +334,7 @@ class time_db_transaction:
return False
def get_number_of_runs(karabo_id, operation_mode):
def get_number_of_characterization_runs(karabo_id, operation_mode):
"""
Get number of expected run for a given detector and operation mode.
@@ -1368,7 +1368,8 @@ class ActionsServer:
thisconf['karabo-da'] = karabo_das
thisconf['operation-mode'] = operation_mode
expected_number_of_runs = get_number_of_runs(karabo_id, operation_mode)
expected_number_of_runs = get_number_of_characterization_runs(
karabo_id, operation_mode)
runs_dict = decide_run_parameters(runs, expected_number_of_runs)
thisconf.update(runs_dict)
Loading