Commit 91c29872 authored by Recolic Keghart's avatar Recolic Keghart 🎱

reject main input

parent 6f5fd4e8
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment