From 3213c14d326a5401acbc3f53c060a0ba23a41f4d Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Wed, 24 Nov 2021 16:33:16 -0800 Subject: [PATCH] test_l4: Merge identical if clauses Signed-off-by: Matthew Stidham --- py-scripts/test_l4.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/py-scripts/test_l4.py b/py-scripts/test_l4.py index 15fc3455..094a7132 100755 --- a/py-scripts/test_l4.py +++ b/py-scripts/test_l4.py @@ -312,10 +312,6 @@ python3 ./test_l4.py except: path = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) print('Saving file to local directory') - else: - pass - - if args.report_file is None: if args.output_format in ['csv', 'json', 'html', 'hdf', 'stata', 'pickle', 'pdf', 'png', 'df', 'parquet', 'xlsx']: rpt_file = path + '/data.' + args.output_format @@ -324,6 +320,7 @@ python3 ./test_l4.py rpt_file = path + '/data.xlsx' else: rpt_file = args.report_file + station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=num_sta - 1, padding_number_=10000, radio=args.radio)