MoseleyBioinformaticsLab / GOcats

A tool for categorizing Gene Ontology into subgraphs of user-defined emergent concepts
Other
7 stars 2 forks source link

csv.field_size_limit(sys.maxsize) creates overflow error on some systems #11

Closed ehinderer closed 4 years ago

ehinderer commented 4 years ago

Traceback "...\gocats\tools.py", line 11 csv.field_size_limit(sys.maxsize) OverflowError: Python int too large to convert to C long

System info: sys.maxsize = 9223372036854775807

Need to create a try\except clause to test if this is needed, or if it will fail.

ehinderer commented 4 years ago

Cannot import gocats at all in this circumstance.

ehinderer commented 4 years ago

Bumped to version 1.1.6 with improved try/except clause, pushed to pypi. Further tests required.

ehinderer commented 4 years ago

commit f68ff34 addresses this issue.