Skip to content

Commit

Permalink
change database 0.9995 to 0.80 for faster test
Browse files Browse the repository at this point in the history
  • Loading branch information
chunyuma committed Dec 10, 2024
1 parent a906ed2 commit 9784812
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_y_integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ def test_run_yacht():
assert exists('result.xlsx')

def test_run_pretrained_ref_db():
cmd = "yacht download pretrained_ref_db --database gtdb --db_version rs214 --k 31 --ani_thresh 0.9995 --outfolder ./"
cmd = "yacht download pretrained_ref_db --database gtdb --db_version rs214 --k 31 --ani_thresh 0.80 --outfolder ./"
res = subprocess.run(cmd, shell=True, check=True)
assert res.returncode == 0

@pytest.mark.slow
# @pytest.mark.slow
def test_run_yacht_pretrained_ref_db():
cmd = f"yacht run --json ./gtdb-rs214-reps.k31_0.9995_pretrained/gtdb-rs214-reps.k31_0.9995_config.json --sample_file '{project_path}/tests/testdata/sample.sig.zip' --significance 0.99 --num_threads 32 --min_coverage_list 1 0.6 0.2 0.1 --out ./result_pretrained.xlsx"
cmd = f"yacht run --json ./gtdb-rs214-reps.k31_0.80_pretrained/gtdb-rs214-reps.k31_0.80_config.json --sample_file '{project_path}/tests/testdata/sample.sig.zip' --significance 0.99 --num_threads 32 --min_coverage_list 1 0.6 0.2 0.1 --out ./result_pretrained.xlsx"
res = subprocess.run(cmd, shell=True, check=True)
assert res.returncode == 0

Expand Down

0 comments on commit 9784812

Please sign in to comment.