Skip to content

Commit

Permalink
update expected contig lengths in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Jun 20, 2020
1 parent 9edde17 commit c79d064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/test_assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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()
Expand Down

0 comments on commit c79d064

Please sign in to comment.