Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ include = ["q2_feature_table*"]

[tool.setuptools.package-data]
q2_feature_table = ["**/*"]

[tool.mutmut]
paths_to_mutate = [ "q2_feature_table/" ]
do_not_mutate = [ "**/tests/*", "*/__init__.py", "*/_version.py" ]
2 changes: 1 addition & 1 deletion q2_feature_table/_core_features/_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'q2_feature_table') / '_core_features' / 'core_features_assets'


def core_features(output_dir, table: biom.Table, min_fraction: float = 0.5,
def core_features(output_dir, table: biom.Table, min_fraction: float = 1.5,
max_fraction: float = 1.0, steps: int = 11) -> None:
if max_fraction < min_fraction:
raise ValueError('min_fraction (%r) parameter must be less than '
Expand Down
2 changes: 1 addition & 1 deletion q2_feature_table/_normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def normalize(
) -> pd.DataFrame:
# Validate parameter combinations and set trim parameters
m_trim, a_trim = _validate_parameters(
method, m_trim, a_trim, gene_length)
method, None, a_trim, gene_length)

# Process gene_lengths input and define methods that need gene_lengths
# input
Expand Down
Loading