Skip to content

Commit

Permalink
pyrodigal tests add threads
Browse files Browse the repository at this point in the history
  • Loading branch information
gbouras13 committed Sep 18, 2023
1 parent 96c4f86 commit 6edd40a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tests/test_external_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from loguru import logger

from bin.processes import (run_aragorn, run_mash_sketch, run_minced,
run_phanotate, run_pyrodigal)
run_phanotate, run_pyrodigal, run_pyrodigal_gv)
# import functions
from bin.util import remove_directory

Expand Down Expand Up @@ -49,19 +49,27 @@ def test_run_pyrodigal(self):
fasta: Path = f"{standard_data}/SAOMS1.fasta"
coding_table = 11
meta = False
run_pyrodigal(fasta, standard_data_output, meta, coding_table) # meta = False
threads = 2
run_pyrodigal(fasta, standard_data_output, meta, coding_table, threads) # meta = False

def test_run_pyrodigal_meta(self):
fasta: Path = f"{standard_data}/SAOMS1.fasta"
coding_table = 11
meta = True
run_pyrodigal(fasta, standard_data_output, meta, coding_table) # meta = False
threads = 2
run_pyrodigal(fasta, standard_data_output, meta, coding_table, threads) # meta = False

def test_run_pyrodigal_c4(self):
fasta: Path = f"{standard_data}/SAOMS1.fasta"
coding_table = 4
meta = False
run_pyrodigal(fasta, standard_data_output, meta, coding_table) # meta = False
threads = 2
run_pyrodigal(fasta, standard_data_output, meta, coding_table, threads) # meta = False

def test_run_pyrodigal_gv(self):
fasta: Path = f"{standard_data}/SAOMS1.fasta"
threads = 2
run_pyrodigal_gv(fasta, standard_data_output, threads) # meta = False

def test_run_minced(self):
fasta: Path = f"{standard_data}/SAOMS1.fasta"
Expand Down

0 comments on commit 6edd40a

Please sign in to comment.