Use lowercase "mandatory"

Closes #12
This commit is contained in:
2022-04-16 18:20:06 +03:00
parent 3119932f03
commit 3c507ddacf
2 changed files with 9 additions and 9 deletions

View File

@ -107,7 +107,7 @@ def parseSchema(schema_df):
else:
controlled_vocab = False
if "mandatory?" in df.columns and row["mandatory?"] == "MANDATORY":
if "mandatory?" in df.columns and row["mandatory?"] == "mandatory":
required = True
else:
required = False