aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/genofile_parser.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-09-19 08:33:50 +0300
committerFrederick Muriuki Muriithi2022-09-19 08:33:50 +0300
commit0ac1cdbaa2aa1a819b2c5f4e28ad26328451e667 (patch)
treef13d55ac834c3141983f6f575008bae758cd7b6b /wqflask/utility/genofile_parser.py
parent870e1b3f899ba8142ab8c8835d11ac2b2bd203ee (diff)
downloadgenenetwork2-0ac1cdbaa2aa1a819b2c5f4e28ad26328451e667.tar.gz
Check for file size before attempting parsing
Empty files lead to json encoding errors; this commit checks whether the file is empty before attempting to parse the file.
Diffstat (limited to 'wqflask/utility/genofile_parser.py')
0 files changed, 0 insertions, 0 deletions