Corrected extra raise command in an error statement.

这个提交包含在:
craig-warren
2015-10-13 21:50:39 +03:00
提交者 Craig Warren
父节点 8921d13736
当前提交 d826e19a8b

查看文件

@@ -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')