Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
0001-t-test_sequence.py.patch | t/test_sequence.py: The way pyfaidx is called to produce the reference object at the negative index is somehow broken (at least with pyfaidx 0.7.1 in Debian sid) and raises a possibly undue test error: ERROR: test_seq_by_index (tests.test_sequence.SequenceTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/pyfastx-LEa3AU/pyfastx-0.8.4/tests/test_sequence.py", line 54, in test_seq_by_index expect = self.faidx[idx][:] File "/usr/lib/python3/dist-packages/pyfaidx/__init__.py", line 1099, in __getitem__ rname = next(islice(self.records.keys(), rname, None)) ValueError: Indices for islice() must be None or an integer: 0 <= x <= sys.maxsize. This may be a problem in pyfaidx actually. Manually implementing the negative index wrap around solves the problem and allows us to proceed to the actual negative index test on pyfastx (which works). |
=?utf-8?q?=C3=89tienne_Mollier?= <emollier@debian.org> | yes | 2022-11-19 | ||
0002-src-index.c-fix-typo-caught-by-lintian.patch | src/index.c: fix typo caught by lintian. | =?utf-8?q?=C3=89tienne_Mollier?= <emollier@debian.org> | yes | 2022-11-20 |