Skip to content

Commit b7bf453

Browse files
Adding more verbosity to plots
1 parent d2991be commit b7bf453

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

wf_psf/script_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,13 +1321,15 @@ def plot_optimisation_metrics(**args):
13211321
args['metric_base_path'] + 'metrics-' + run_id_no_suff + args['suffix_id_name'] + '.npy'
13221322
]
13231323

1324+
print('Model paths: ', model_paths)
1325+
13241326
try:
13251327
# Load metrics
13261328
metrics = [np.load(_path, allow_pickle=True)[()] for _path in model_paths]
13271329
except FileNotFoundError:
13281330
print('The required file for the plots was not found.')
13291331
print('Probably I am not the last job for plotting the optimisation metrics.')
1330-
return 0
1332+
raise FileNotFoundError
13311333

13321334
## Plot the first parametric cycle
13331335
cycle_str = 'param_cycle1'

0 commit comments

Comments
 (0)