Closed tkosciol closed 7 years ago
process_fasta.extract_sequences cannot handle lists of identifiers which are integers, e.g.
process_fasta.extract_sequences
process_fasta.extract_sequences('input.faa', identifiers=[1, 2])
gives an error
AttributeError: 'int' object has no attribute 'isdigit'
line 58 does a check if the identifier has attribute isdigit which is specific to str, not int.
isdigit
str
int
I also have a feature request for this function, but I will submit it as a separate issue.
process_fasta.extract_sequences
cannot handle lists of identifiers which are integers, e.g.gives an error
line 58 does a check if the identifier has attribute
isdigit
which is specific tostr
, notint
.I also have a feature request for this function, but I will submit it as a separate issue.