moved frontend function check_not_nan to tools

This commit is contained in:
Landon Wark
2023-02-15 09:29:03 -06:00
parent a9ce9514fc
commit 85dad791ec
15 changed files with 275 additions and 156 deletions

View File

@@ -21,11 +21,3 @@ def check_kit_integrity(sub:BasicSubmission):
return result
def check_not_nan(cell_contents) -> bool:
try:
return not np.isnan(cell_contents)
except ValueError:
return True
except Exception as e:
logger.debug(f"Check encounteded unknown error: {e}")
return False