Skip to content

Commit 07683e6

Browse files
committed
fix second exception for make_plot_tidal_ellipses()
1 parent 0096ad9 commit 07683e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pycurrents_ADCP_processing/plot_westcoast_nc_LX.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2556,7 +2556,7 @@ def create_westcoast_plots(
25562556
time_lim, bin_depths_lim, ns_lim, ew_lim, resampled
25572557
)
25582558
output_file_list.append(fname_tidal_ellipse)
2559-
except ValueError or IndexError as e:
2559+
except (ValueError, IndexError) as e:
25602560
warnings.warn(f'Tidal analysis failed with error: {e}')
25612561

25622562
# pcolor (pseudocolour) depth profile plot of rotary spectra

0 commit comments

Comments
 (0)