lmdu/pyfastx

Fetch function can't identify numpy int

Opened this issue · 1 comments

Hi,
It seems that fasta.fetch can't recognize numpy int variables and will report an error.
SystemError: /tmp/build/80754af9/python-split_1631797238431/work/Objects/longobject.c:506: bad argument to internal function

lmdu commented

pyfastx could not parse numbers with numpy types. You can use int function to convert numpy int to python int.