Open msgr0 opened 9 months ago
example of given error on a skesa bacterial assembly .gfa file
gfapy.error.FormatError: Field: KC
Datatype: i
Content: 1.44333e+06
invalid literal for int() with base 10: '1.44333e+06':the string does not represent a valid integer
When integer value is given in exponential notation, python doesn't parse it as an integer resulting in not validating the
gfa
file. Casting tofloat
and then toint
resolves the issue.