Commit 05aa44a
committed
Fix TypeError when protein description is not a string
Handle cases where protein description values may be non-string types
(e.g., NaN, float) by explicitly converting to string before truncation.
This prevents "TypeError: object of type 'float' has no len()" errors
when parsing FLASHTnT results.1 parent ba00399 commit 05aa44a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments