Closed prihoda closed 4 years ago
I'll take a look today. On first glance this makes sense, and I'll add at least one test case before merging.
It looks like this change not only fixes #93, but it doesn't break existing tests either. Great job @prihoda!. I'll merge and tag a new version (0.5.6) which will push to PyPI within the next hour.
Add support for zero-length sequences.
Example FASTA file:
Result:
['ABC', '', '', 'DEFGH']
Also enables slicing sequences to zero length, which corresponds to slicing python lists:
Please review all the changes, I tested on an example dataset but I cannot be sure that this will always work.