diff --git a/abm/lib/experiment.py b/abm/lib/experiment.py index 178f82e..4aa5151 100644 --- a/abm/lib/experiment.py +++ b/abm/lib/experiment.py @@ -135,7 +135,7 @@ def summarize(context: Context, args: list): make_row = make_model_row header_row = "job_id,tool_id,tool_version,state,memory.max_usage_in_bytes,cpuacct.usage,process_count,galaxy_slots,runtime_seconds,ref_data_size,input_data_size_1,input_data_size_2" else: - print(f"Input dir {arg}") + # print(f"Input dir {arg}") input_dirs.append(arg) if len(input_dirs) == 0: diff --git a/abm/lib/job.py b/abm/lib/job.py index 66bccf5..7abe46f 100644 --- a/abm/lib/job.py +++ b/abm/lib/job.py @@ -153,9 +153,16 @@ def problems(context: Context, args: list): def rerun(context: Context, args: list): + remap = False + if '-r' in args: + remap = True + args.remove('-r') + if '--remap' in args: + remap = True + args.remove('--remap') if len(args) == 0: print("ERROR: no job ID provided") return gi = connect(context) - result = gi.jobs.rerun_job(args[0], remap=True) + result = gi.jobs.rerun_job(args[0], remap=remap) print_json(result) \ No newline at end of file