added imports to only when they are used (small imports), dataframe comparison underway

Signed-off-by: Dipti <dipti.dhond@candelatech.com>
This commit is contained in:
Dipti
2021-02-18 02:10:52 -08:00
parent ad834dd3b8
commit 84760e6959
3 changed files with 24 additions and 5 deletions

View File

@@ -314,8 +314,10 @@ python3 ./test_ipv4_variable_time.py
compared_report_format=args.compared_report.split('.')[-1]
#if compared_report_format not in ['csv', 'json', 'dta', 'pkl','html','xlsx','parquet','h5']:
if compared_report_format != 'csv':
ValueError("Cannot process this file type. Please select a different file and re-run script.")
print(ValueError("Cannot process this file type. Please select a different file and re-run script."))
exit(1)
else:
compared_rept=args.compared_report
station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=num_sta - 1, padding_number_=10000,
radio=args.radio)