skip_test_needing_missing_data
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Mon, 19 Feb 2018 10:11:17 +0000 (10:11 +0000)
committerGraham Inggs <ginggs@debian.org>
Mon, 19 Feb 2018 10:11:17 +0000 (10:11 +0000)
Gbp-Pq: Name skip_test_needing_missing_data.patch

tests/AlignmentFile_test.py
tests/pysam_data/Makefile

index a684fb8fa2499ec88815d5b4f56b8f3393e4cd75..e2f210a0d3cac5daeb05a963bc7584ccdfc14d8e 100644 (file)
@@ -1361,12 +1361,7 @@ class TestEmptyHeader(unittest.TestCase):
                                              'example_empty_header.bam'))
         self.assertEqual(s.header.to_dict(), {'SQ': [{'LN': 1000, 'SN': 'chr1'}]})
 
-    def test_bam_without_seq_in_header(self):
-        s = pysam.AlignmentFile(os.path.join(BAM_DATADIR, "example_no_seq_in_header.bam"))
-        self.assertTrue("SQ" in s.header.to_dict())
-        self.assertTrue("@SQ" in str(s.header))
 
-        
 class TestHeaderWithProgramOptions(unittest.TestCase):
 
     '''see issue 39.'''
index b48a27c027e0ae5dc321e746485c7dda35a3d23e..5550152fc080425f385d9b9e485a1b940fa77ffe 100644 (file)
@@ -20,8 +20,7 @@ all: ex1.pileup.gz \
        explicit_index.bam explicit_index.cram \
        faidx_empty_seq.fq.gz \
        ex1.fa.gz ex1.fa.gz.csi \
-       ex1_csi.bam \
-       example_reverse_complement.bam
+       ex1_csi.bam
 
 # ex2.sam - as ex1.sam, but with header
 ex2.sam.gz: ex1.bam ex1.bam.bai