Skip to content

Commit

Permalink
Merge pull request #1500 from ComparativeGenomicsToolkit/oneshot
Browse files Browse the repository at this point in the history
add --collapse to yeast test
  • Loading branch information
glennhickey authored Oct 14, 2024
2 parents 1f08b56 + 598092b commit f4cdf66
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/evolverTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,8 @@ def _run_yeast_pangenome(self, binariesMode):
'--refContigs'] + chroms + ['--reference', 'S288C', 'DBVPG6044', '--vcf', '--vcfReference','DBVPG6044', 'S288C',
'--giraffe', 'clip', 'filter', '--chrom-vg', 'clip', 'filter',
'--viz', '--chrom-og', 'clip', 'full', '--odgi', '--haplo', 'clip',
'--xg', '--unchopped-gfa', '--indexCores', '4', '--consCores', '2']
'--xg', '--unchopped-gfa', '--indexCores', '4', '--consCores', '2',
'--collapse']
subprocess.check_call(cactus_pangenome_cmd + cactus_opts)

#compatibility with older test
Expand Down Expand Up @@ -584,7 +585,7 @@ def _check_yeast_pangenome(self, binariesMode, other_ref=None, expect_odgi=False
output, errors = proc.communicate()
sts = proc.wait()
num_bases = int(output.strip())
self.assertGreaterEqual(num_bases, 10000000)
self.assertGreaterEqual(num_bases, 9000000)
self.assertLessEqual(num_bases, 11200000)

# make sure we have the giraffe indexes
Expand Down

0 comments on commit f4cdf66

Please sign in to comment.