Create new args string with specific run number.
(original_args, run_number)
| 38 | return ini_file, config |
| 39 | |
| 40 | def create_run_specific_args(original_args, run_number): |
| 41 | """Create new args string with specific run number.""" |
| 42 | # Remove existing -r argument if present |
| 43 | args_without_r = re.sub(r'-r\s+\d+', '', original_args) |
| 44 | # Add the new run number |
| 45 | return f"{args_without_r.strip()} -r {run_number}" |
| 46 | |
| 47 | def extend_simulations_csv(input_file, output_file): |
| 48 | """Extend the simulations.csv file to include all runs.""" |
no test coverage detected