Skip to content

Commit 0ae2453

Browse files
Increase verbosity
1 parent dc2c135 commit 0ae2453

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

wf_psf/script_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,6 +1028,8 @@ def plot_metrics(**args):
10281028
args['metric_base_path'] + 'metrics-' + run_id_no_suff + args['suffix_id_name'] + '.npy'
10291029
]
10301030

1031+
print('Model paths for performance plots: ', model_paths)
1032+
10311033
# Load metrics
10321034
try:
10331035
metrics = [np.load(_path, allow_pickle=True)[()] for _path in model_paths]
@@ -1321,15 +1323,15 @@ def plot_optimisation_metrics(**args):
13211323
optim_hist_file + 'optim_hist_' + run_id_no_suff + str(args['suffix_id_name']) + '.npy'
13221324
]
13231325

1324-
print('Model paths: ', model_paths)
1326+
print('Model paths for optimisation plots: ', model_paths)
13251327

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

13341336
## Plot the first parametric cycle
13351337
cycle_str = 'param_cycle1'

0 commit comments

Comments
 (0)