We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2991be commit b7bf453Copy full SHA for b7bf453
wf_psf/script_utils.py
@@ -1321,13 +1321,15 @@ def plot_optimisation_metrics(**args):
1321
args['metric_base_path'] + 'metrics-' + run_id_no_suff + args['suffix_id_name'] + '.npy'
1322
]
1323
1324
+ print('Model paths: ', model_paths)
1325
+
1326
try:
1327
# Load metrics
1328
metrics = [np.load(_path, allow_pickle=True)[()] for _path in model_paths]
1329
except FileNotFoundError:
1330
print('The required file for the plots was not found.')
1331
print('Probably I am not the last job for plotting the optimisation metrics.')
- return 0
1332
+ raise FileNotFoundError
1333
1334
## Plot the first parametric cycle
1335
cycle_str = 'param_cycle1'
0 commit comments