9049d86f013ded5bdfcdd6557c947dad4303cdce,skbio/diversity/beta/_base.py,,beta_diversity,#Any#Any#Any#,24
Before Change
metric, counts, _ = _unweighted_unifrac_pdist_f(
counts, otu_ids=kwargs["otu_ids"], tree=kwargs["tree"])
elif metric == "weighted_unifrac":
try:
normalized = kwargs["normalized"]
except KeyError:
normalized = False
metric, counts, _ = _weighted_unifrac_pdist_f(
counts, otu_ids=kwargs["otu_ids"], tree=kwargs["tree"],
normalized=normalized)
elif callable(metric):
After Change
metric, counts, _ = _unweighted_unifrac_pdist_f(
counts, otu_ids=kwargs["otu_ids"], tree=kwargs["tree"])
elif metric == "weighted_unifrac":
normalized = kwargs.get("normalized", False)
metric, counts, _ = _weighted_unifrac_pdist_f(
counts, otu_ids=kwargs["otu_ids"], tree=kwargs["tree"],
normalized=normalized)
elif callable(metric):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
Project Name: biocore/scikit-bio
Commit Name: 9049d86f013ded5bdfcdd6557c947dad4303cdce
Time: 2015-11-11
Author: gregcaporaso@gmail.com
File Name: skbio/diversity/beta/_base.py
Class Name:
Method Name: beta_diversity
Project Name: catalyst-cooperative/pudl
Commit Name: ead53c9bd3205abfe3fdec30f8e6c8b39ea04329
Time: 2020-11-12
Author: cgosnell@catalyst.coop
File Name: src/pudl/etl.py
Class Name:
Method Name: _validate_params_ferc1
Project Name: catalyst-cooperative/pudl
Commit Name: d22b0ccbccd7c8659c8ec87556a60a8321ccab1c
Time: 2020-11-12
Author: cgosnell@catalyst.coop
File Name: src/pudl/etl.py
Class Name:
Method Name: _validate_params_ferc1