Closed paretje closed 3 years ago
I made changes to _check_use_index
and added some more tests for the warnings and errors it raises (https://github.com/levitsky/pyteomics/commit/e7724962febfbae60dc7e8049bb56a8339230cf4). Hopefully this addresses the issues you had. Thank you for your help!
The warning currently doesn't work as
use_index
is overridden immediately when file is determined to be seeakable. This moves the warning beforeuse_index
is set.