Skip to content

Commit

Permalink
Remove unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
baileythegreen committed May 23, 2022
1 parent 5afb85b commit a3aa75a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/test_anim.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,17 +275,3 @@ def test_mummer_job_generation(mummer_cmds_four):
assert job.name == "test_%06d-f" % idx # filter job name
assert len(job.dependencies) == 1 # has NUCmer job
assert job.dependencies[0].name == "test_%06d-n" % idx


@pytest.skip(
"ANIm is not as symmetric as we thought, so this test is perhaps not needed."
)
def test_genome_sorting(tmp_path, unsorted_genomes):
second, first = [Path(_.path) for _ in unsorted_genomes]
outprefix = f"{tmp_path}/nucmer_output/{first.stem}/{first.stem}_vs_{second.stem}"
expected = (
f"nucmer --mum -p {outprefix} {first} {second}",
f"delta_filter_wrapper.py delta-filter -1 {outprefix}.delta {outprefix}.filter",
)
nucmercmd, filtercmd = anim.construct_nucmer_cmdline(second, first, tmp_path)
assert (nucmercmd, filtercmd) == expected

0 comments on commit a3aa75a

Please sign in to comment.