From 145a072c813a87bd31b77dcbc2a62314230bb0fe Mon Sep 17 00:00:00 2001 From: craig-warren Date: Fri, 3 Jun 2016 11:53:47 +0100 Subject: [PATCH] Corrected bug with rx component argument name. --- tools/plot_Bscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/plot_Bscan.py b/tools/plot_Bscan.py index 514130bb..5772d227 100644 --- a/tools/plot_Bscan.py +++ b/tools/plot_Bscan.py @@ -101,7 +101,7 @@ if __name__ == "__main__": # Parse command line arguments parser = argparse.ArgumentParser(description='Plots a B-scan image.', usage='cd gprMax; python -m tools.plot_Bscan outputfile output') parser.add_argument('outputfile', help='name of output file including path') - parser.add_argument('rx-component', help='name of output component to be plotted', choices=['Ex', 'Ey', 'Ez', 'Hx', 'Hy', 'Hz', 'Ix', 'Iy', 'Iz']) + parser.add_argument('rx_component', help='name of output component to be plotted', choices=['Ex', 'Ey', 'Ez', 'Hx', 'Hy', 'Hz', 'Ix', 'Iy', 'Iz']) args = parser.parse_args() # Open output file and read number of outputs (receivers)