Skip to content

Commit

Permalink
Merge pull request #58 from rmadupuri/update_validator
Browse files Browse the repository at this point in the history
Minor fix to validate floats in clinical files
  • Loading branch information
MatthijsPon authored Sep 6, 2024
2 parents 8be4d53 + e9465ff commit 5e0f5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/importer/validateData.py
Original file line number Diff line number Diff line change
Expand Up @@ -2726,7 +2726,7 @@ def checkLine(self, data):
pass
elif data_type == 'NUMBER':
if not self.checkFloat(value):
if (value[0] in ('>','<')) and value[1:].isdigit():
if (value[0] in ('>','<')) and self.checkFloat(value[1:]):
pass
else:
self.logger.error(
Expand Down

0 comments on commit 5e0f5bc

Please sign in to comment.