Commit a33b0063 authored by Georgios Gerasimos Voutsinas's avatar Georgios Gerasimos Voutsinas
Browse files

Update runner.py

parent 91128da5
Pipeline #3324287 passed with stages
in 17 minutes and 10 seconds
......@@ -148,7 +148,6 @@ def get_configuration_by_tag(config):
:param dict config: Dictionary with the sim_runner configuration
"""
stage = config['process']['stage']
LOGGER.debug('TEST branch %s', config['environment'][stage]['tag'])
cmd = f"""git clone --quiet -b '{config['environment'][stage]['tag']}' \
--single-branch --depth 1 \
{config['environment'][stage]['configuration_repository']} \
......@@ -223,7 +222,6 @@ def job_command(config):
cmd += f"-C {key}={value} "
LOGGER.debug("sim_telarray command:\n%s", cmd)
elif stage == 'corsika':
#cmd = f"{config['environment']['submission']['run_directory']}/corsika"
cmd = f"{config['environment']['corsika']['software_intallation_path']}/{stage} "
elif stage == 'dl1':
cmd = 'lstchain_mc_r0_to_dl1'
......@@ -284,7 +282,7 @@ def create_commands(config):
new_config_file.write(new_config)
new_config_file.close()
LOGGER.debug('NEW CONFIG FILE %s', new_config_file )
#log_file = output_path + '/log/' + _parameter_name + "_" + str(scan_parameter) + "_run" + str(run_number)+ '.log'
log_file = output_path + '/log/' + _parameter_name + "_" + str(scan_parameter) + "_run" + str(run_number)+ '.log'
job_commands.append(job_command(config) +
f'-o {output_file} < {job_config_filename}')
elif 'parameter_card' in config['process']['production_type']:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment