Skip to content

Commit

Permalink
add extra params flye test
Browse files Browse the repository at this point in the history
  • Loading branch information
gbouras13 committed Oct 18, 2024
1 parent 1ed51f2 commit b664c78
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tests/test_hybracter.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def test_hybracter_long(run_mac):
# test override
# bit useless for mac (as --bacteria won't work) but won't break anything so just leave

def test_hybracter_long(run_mac):
def test_hybracter_long_medaka_override(run_mac):
"""test hybracter long"""
outdir: Path = "test_hybracter_output_medaka_override"
input_csv: Path = test_data_path / "test_long_input.csv"
Expand All @@ -351,6 +351,19 @@ def test_hybracter_long(run_mac):
exec_command(cmd)
remove_directory(outdir)

# test --extra_params_flye

def test_hybracter_long_medaka_override(run_mac):
"""test hybracter long"""
outdir: Path = "test_hybracter_output_medaka_override"
input_csv: Path = test_data_path / "test_long_input.csv"
cmd = f"hybracter long --input {input_csv} --threads {threads} --output {outdir} --databases {db_dir} --extra_params_flye \"--meta\" "
if run_mac:
cmd += " --mac"
exec_command(cmd)
remove_directory(outdir)


def test_hybracter_long_auto(run_mac):
"""
Expand Down

0 comments on commit b664c78

Please sign in to comment.