Skip to content
Snippets Groups Projects
Commit 1fb254d1 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

fix

parent 63132c67
No related branches found
No related tags found
1 merge request!22Release 0.3
......@@ -236,7 +236,12 @@ class XLSImporter(object):
# if any of the relevant information is missing, report it
for key in self.obligatory_columns:
i = 0
okay = True
while okay and i < len(self.obligatory_columns):
key = self.obligatory_columns[i]
i += 1
if pd.isnull(row.loc[key]):
errmsg = (
......@@ -248,6 +253,6 @@ class XLSImporter(object):
'category': "inconsistency"})
df = df.drop(index)
continue
okay = False
return df
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