Skip to content
Snippets Groups Projects
Commit 04303f60 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

request dark for more than one karabo_id with different karabo_das for same run

parent 14355e1a
No related branches found
No related tags found
1 merge request!329request dark for more than one karabo_id with different karabo_das for same run
...@@ -698,10 +698,10 @@ async def server_runner(config, mode): ...@@ -698,10 +698,10 @@ async def server_runner(config, mode):
for karabo_id in karabo_ids: for karabo_id in karabo_ids:
if karabo_das[0] == 'all': if karabo_das[0] == 'all':
karabo_das = data_conf[karabo_id]["karabo-da"] karabo_da = data_conf[karabo_id]["karabo-da"]
# Check if any files for given karabo-das exists # Check if any files for given karabo-das exists
if await check_files(in_folder, wait_runs, karabo_das): if await check_files(in_folder, wait_runs, karabo_da):
thisconf = copy.copy(data_conf[karabo_id]) thisconf = copy.copy(data_conf[karabo_id])
if (karabo_id in pconf and if (karabo_id in pconf and
...@@ -712,7 +712,7 @@ async def server_runner(config, mode): ...@@ -712,7 +712,7 @@ async def server_runner(config, mode):
thisconf["out-folder"] = '/'.join((out_folder, thisconf["out-folder"] = '/'.join((out_folder,
karabo_id.replace('-', '_'))) karabo_id.replace('-', '_')))
thisconf["karabo-id"] = karabo_id thisconf["karabo-id"] = karabo_id
thisconf["karabo-da"] = karabo_das thisconf["karabo-da"] = karabo_da
run_config = [] run_config = []
for typ, run in run_mapping.items(): for typ, run in run_mapping.items():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment