aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/data_entry.py
diff options
context:
space:
mode:
authorzsloan2022-02-01 20:06:57 +0000
committerBonfaceKilz2022-02-02 11:04:40 +0300
commiteede05baf5e7573a7d29398a517e10b6c441145a (patch)
treebb8ceff2b30924e240c0ae86420a9030f8d53684 /gn3/api/data_entry.py
parent679c9733cc71f88c14eb79d4b2fa8ed2bdd23b13 (diff)
downloadgenenetwork3-eede05baf5e7573a7d29398a517e10b6c441145a.tar.gz
Fix bug where sample values of 0 were being treated as False
In line 91 of gn3/db/traits.py, there was an if statement "if record[key] else 'x'" that was treating values of 0 as False, so I changed it to explicitly check that values aren't None
Diffstat (limited to 'gn3/api/data_entry.py')
0 files changed, 0 insertions, 0 deletions