diff options
author | Frederick Muriuki Muriithi | 2025-08-20 12:34:13 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-08-20 12:34:13 -0500 |
commit | f98d99b625b85d27e729918a069bcf42630bc562 (patch) | |
tree | 5932103f854baa83be017db1141370708f417a8b /uploader | |
parent | 16c2b27d23f0cc3b1bb5aa3ff5f4ce515a54d94f (diff) | |
download | gn-uploader-f98d99b625b85d27e729918a069bcf42630bc562.tar.gz |
Add check for Nonetype.
Diffstat (limited to 'uploader')
-rw-r--r-- | uploader/templates/phenotypes/job-status.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/templates/phenotypes/job-status.html b/uploader/templates/phenotypes/job-status.html index 12963c1..257f726 100644 --- a/uploader/templates/phenotypes/job-status.html +++ b/uploader/templates/phenotypes/job-status.html @@ -105,7 +105,7 @@ <td>{{error.filename}}</td> <td>{{error.rowtitle}}</td> <td>{{error.coltitle}}</td> - <td>{%if error.cellvalue | length > 25%} + <td>{%if error.cellvalue is not none and error.cellvalue | length > 25%} {{error.cellvalue[0:24]}}… {%else%} {{error.cellvalue}} |