Skip to content
Snippets Groups Projects

[Webservice] Enable two runs detectors

Merged Karim Ahmed requested to merge enable_two_runs_detectors into master
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -43,7 +43,7 @@ except ImportError:
from config import webservice as config
from messages import MDC, Errors, MigrationError, Success, PDUsNotFoundError, OperationModeNotFoundError
from cal_tools.calcat_interface2 import get_client
from cal_tools.restful_config import extra_calibration_client
def init_job_db(config):
@@ -352,7 +352,7 @@ def get_number_of_characterization_runs(karabo_id, operation_mode):
Returns:
int: Number of runs for operation mode.
"""
client = get_client()
client = extra_calibration_client()
detector_id = client.detector_by_identifier(karabo_id)['id']
try:
pdus = client.get(
Loading