Skip to content

Commit

Permalink
Merge pull request #68 from EBISPOT/fix/goci#269-2
Browse files Browse the repository at this point in the history
Updated schema v1.7. Changed lower boundary for p-value.
  • Loading branch information
jdhayhurst authored Nov 5, 2020
2 parents ff18bf7 + 4e72d0f commit 6be7eb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file modified schema_definitions/template_schema_v1.7.xlsx
Binary file not shown.
4 changes: 3 additions & 1 deletion template/schemaJson_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ def _addPropertyToSchema(self, row):
if not pd.isna(row['EXAMPLE']): columnData['example'] = row['EXAMPLE']

# Adding boundaries:
if not pd.isna(row['LOWER']) and not pd.isna(row['UPPER']):
if not pd.isna(row['LOWER']):
columnData['lowerBound'] = row['LOWER']

if not pd.isna(row['UPPER']):
columnData['upperBound'] = row['UPPER']

# Adding Accepted values:
Expand Down

0 comments on commit 6be7eb8

Please sign in to comment.