Skip to content

Commit 12d022f

Browse files
committed
Added a test for --auto-max-dists
1 parent 733a084 commit 12d022f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/run_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
subprocess.run(python_cmd + " ../poppunk-runner.py --qc-db --ref-db example_db --overwrite", shell=True, check=True)
2626
subprocess.run(python_cmd + " ../poppunk-runner.py --qc-db --ref-db example_db --output example_qc --length-range 2000000 3000000 --overwrite", shell=True, check=True)
2727
subprocess.run(python_cmd + " ../poppunk-runner.py --qc-db --ref-db example_db --output example_qc --remove-samples remove.txt --overwrite", shell=True, check=True)
28-
# test if QC gives the same output as the original distances when there is no samples to remove
28+
subprocess.run(python_cmd + " ../poppunk-runner.py --qc-db --ref-db example_db --output example_qc --auto-max-dists both --overwrite", shell=True, check=True)
29+
# test if QC gives the same output as the original distances when there is no sample to remove
2930
subprocess.run(python_cmd + " ../poppunk-runner.py --qc-db --ref-db example_qc --output example_qc_noRemove", shell=True, check=True)
3031

3132

0 commit comments

Comments
 (0)