From: Debian Med Packaging Team Date: Wed, 29 May 2024 11:23:03 +0000 (+0200) Subject: fix test failure with htslib 1.20. X-Git-Tag: archive/raspbian/0.23.0+ds-1+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0d11b7ee9b0f2ddfe07fd8affe87d4caaa99bc8b;p=python-pysam.git fix test failure with htslib 1.20. This data file contains invalid data, which is diagnosed by improvements in bam_parse_basemod2() in HTSlib 1.20. Updating these base modification data files to the versions in htslib and hts-specs corrects the problem. Author: John Marshall Origin: upstream, https://github.com/pysam-developers/pysam/issues/1291#issuecomment-2131146211 Bug: https://github.com/pysam-developers/pysam/issues/1291 Reviewed-by: Étienne Mollier Last-Update: 2024-05-29 Gbp-Pq: Name htslib-1.20.patch --- diff --git a/tests/pysam_data/MM-chebi.sam b/tests/pysam_data/MM-chebi.sam index 62920ec..28774d5 100644 --- a/tests/pysam_data/MM-chebi.sam +++ b/tests/pysam_data/MM-chebi.sam @@ -1,2 +1,2 @@ @CO Separate m, h and N modifications -* 0 * 0 0 * * 0 0 AGCTCTCCAGAGTCGNACGCCATYCGCGCGCCACCA * Mm:Z:C+m,2,2,1,4,1;C+76792,6,7;N+n,15; Ml:B:C,102,128,153,179,204,161,187,212,169 +* 0 * 0 0 * * 0 0 AGCTCTCCAGAGTCGNACGCCATYCGCGCGCCACCA * Mm:Z:C+m,2,2,1,4,1;C+76792,6,7;N+n,15; Ml:B:C,102,128,153,179,204,161,187,212