Skip to content

Commit

Permalink
remove previous code block
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchen2 committed Nov 27, 2023
1 parent 777e975 commit 889f414
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions qadabra/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ def _validate_input(
joint_df = tbl_df.join(md)
gb = joint_df.groupby(factor_name).sum(numeric_only=True)
feat_presence = gb.apply(lambda x: x.all())
# if not feat_presence.all():
# raise ValueError(
# "Some taxa in the table perfectly discriminate factor groups. "
# "Please filter out these taxa before running Qadabra."
# )

discriminating_feats = feat_presence[~feat_presence].index.tolist()

if len(discriminating_feats) > 0:
Expand Down

0 comments on commit 889f414

Please sign in to comment.