Skip to content
Snippets Groups Projects
Commit 91c29872 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

reject main input

parent 6f5fd4e8
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,8 @@ def _main():
fcontent = xlsx_conv.read_as_csv(fname)
fcontent = csv_preprocess.clean_csv(fcontent)
if fcontent.strip() == '':
raise RuntimeError('Empty input rejected.')
fcontent = csv_preprocess.clean_csv_2(fcontent)
#contArr = np.loadtxt(StringIO(fcontent), delimiter=',', dtype=str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment