Skip to content

Commit

Permalink
only during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
J.R. Angevaare committed Aug 9, 2023
1 parent 3ee0ddc commit 8edabed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optim_esm_tools/analyze/time_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def n_times_global_std(ds, field='std detrended', average_over=None, **read_kw):
path = ds.attrs['file']
if os.path.exists(path):
ds_global = oet.load_glob(path)
else:
else: # pragma: no cover
ds_global = oet.read_ds(os.path.split(path)[0], **read_kw)
return float(ds[field].mean(average_over) / ds_global[field].mean(average_over))

Expand Down

0 comments on commit 8edabed

Please sign in to comment.