nextgenusfs / funannotate

Eukaryotic Genome Annotation Pipeline
http://funannotate.readthedocs.io
BSD 2-Clause "Simplified" License
300 stars 82 forks source link

TypeError: '>' not supported between instances of 'NoneType' and 'int' #1031

Open ad010902 opened 2 months ago

ad010902 commented 2 months ago

Hi, I catch bug below

Traceback (most recent call last): File "/home/duongnguyen/.local/bin/funannotate", line 8, in sys.exit(main()) File "/home/duongnguyen/.local/lib/python3.6/site-packages/funannotate/funannotate.py", line 717, in main mod.main(arguments) File "/home/duongnguyen/.local/lib/python3.6/site-packages/funannotate/sort.py", line 81, in main args.input, args.base, args.out, minlen=args.minlen, simplify=args.simplify File "/home/duongnguyen/.local/lib/python3.6/site-packages/funannotate/sort.py", line 37, in SortRenameHeaders if minlen > 0: TypeError: '>' not supported between instances of 'NoneType' and 'int'

ydanylko commented 1 month ago

Currently having the same issue after suddenly being asked to run export funannotate_db again

ydanylko commented 1 month ago

fix seems to be to specify a minlen, I chose 1 and mine worked, hope this helps