From c79d06429bd9c22a64142b0df35ba0c083c1bf6b Mon Sep 17 00:00:00 2001 From: Danny Park Date: Sat, 20 Jun 2020 11:41:26 -0400 Subject: [PATCH] update expected contig lengths in unit tests --- test/unit/test_assembly.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/test_assembly.py b/test/unit/test_assembly.py index 7a25cbd3..31f55210 100644 --- a/test/unit/test_assembly.py +++ b/test/unit/test_assembly.py @@ -159,7 +159,7 @@ def test_assembly(self): contig_lens = list(sorted(len(seq.seq) for seq in Bio.SeqIO.parse(outFasta, 'fasta'))) #import sys #print('test_assembly_contigs_lens:', contig_lens, file=sys.stderr) - self.assertEqual(contig_lens, [180, 184, 187, 190, 191, 194, 197, 211, 243, 244, 247, 288, 328, 348, 430]) + self.assertEqual(contig_lens, [190, 195, 197, 222, 243, 247, 359]) def test_assembly_with_previously_assembled_contigs(self): inDir = util.file.get_test_input_path(self) @@ -173,7 +173,7 @@ def test_assembly_with_previously_assembled_contigs(self): contig_lens = list(sorted(len(seq.seq) for seq in Bio.SeqIO.parse(outFasta, 'fasta'))) #import sys #print('test_assembly_with_previously_assembled_contigs_contigs_lens:', contig_lens, file=sys.stderr) - self.assertEqual(contig_lens, [168, 170, 177, 180, 184, 187, 190, 191, 194, 197, 211, 243, 244, 247, 288, 328, 348, 430]) + self.assertEqual(contig_lens, [172, 174, 190, 195, 197, 222, 243, 247, 359]) def test_empty_input_succeed(self): inDir = util.file.get_test_input_path()