(binary, cmd)
| 20 | PLOT_COLORS = ['blue', 'green', 'red', 'purple', 'orange', 'brown'] |
| 21 | |
| 22 | def run_mrc_binary(binary, cmd): |
| 23 | |
| 24 | print("Running MRC binary with command:") |
| 25 | print(" ".join(cmd)) |
| 26 | result = subprocess.run(cmd) |
| 27 | if result.returncode != 0: |
| 28 | print("Error: MRC binary exited with code", result.returncode) |
| 29 | sys.exit(result.returncode) |
| 30 | else: |
| 31 | print("MRC binary finished successfully.") |
| 32 | |
| 33 | def plot_shards_multirate(out_files, plot_path): |
| 34 | plt.figure(figsize=(10,6)) |