Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fplazaonate committed Mar 29, 2024
1 parent d827bb9 commit bfda297
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions meteor/merging.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ class Merging(Session):
prefix: str
min_msp_abundance: float
min_msp_occurrence: int
remove_sample_with_no_msp: bool = True
output_mpa: bool = False
remove_sample_with_no_msp: bool
output_mpa: bool
mpa_taxonomic_level: str
output_biom: bool = False
output_gene_matrix: bool = False
output_biom: bool
output_gene_matrix: bool
ranks: dict[str, str] = field(
default_factory=lambda: {
"superkingdom": "k__",
Expand Down
2 changes: 2 additions & 0 deletions meteor/tests/test_merging.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def merging_profiles(datadir: Path, tmp_path: Path) -> Merging:
min_msp_occurrence=0,
remove_sample_with_no_msp=False,
output_mpa=False,
mpa_taxonomic_level=None,
output_biom=False,
output_gene_matrix=True,
)
Expand All @@ -59,6 +60,7 @@ def merging_fast(datadir: Path, tmp_path: Path) -> Merging:
min_msp_occurrence=0,
remove_sample_with_no_msp=False,
output_mpa=False,
mpa_taxonomic_level=None,
output_biom=False,
output_gene_matrix=False,
)
Expand Down
1 change: 1 addition & 0 deletions meteor/tests/test_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def profiler_standard(datadir: Path, tmp_path: Path) -> Profiler:
meteor=meteor,
rarefaction_level=-1,
seed=12345,
coverage_factor=100.0,
normalization="",
core_size=4,
msp_filter=0.5,
Expand Down

0 comments on commit bfda297

Please sign in to comment.