From d826e19a8b9ccde76490e69235531f185e441ceb Mon Sep 17 00:00:00 2001 From: craig-warren Date: Tue, 13 Oct 2015 21:50:39 +0300 Subject: [PATCH] Corrected extra raise command in an error statement. --- tools/plot_hdf5_Bscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/plot_hdf5_Bscan.py b/tools/plot_hdf5_Bscan.py index 5a0950e7..e280dad9 100644 --- a/tools/plot_hdf5_Bscan.py +++ b/tools/plot_hdf5_Bscan.py @@ -40,7 +40,7 @@ data = f[path + '/' + field] # Check that there is more than one A-scan present if data.shape[1] == 1: - raise raise CmdInputError('{} contains only a single A-scan.'.format(file)) + raise CmdInputError('{} contains only a single A-scan.'.format(file)) # Plot B-scan image fig = plt.figure(num=file, figsize=(20, 10), facecolor='w', edgecolor='w')