From 889f414f7bda9b4707388a4fec1e088c35c85c14 Mon Sep 17 00:00:00 2001 From: Yang Chen <60239063+yangchen2@users.noreply.github.com> Date: Mon, 27 Nov 2023 12:08:34 -0700 Subject: [PATCH] remove previous code block --- qadabra/utils.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/qadabra/utils.py b/qadabra/utils.py index 73ec524..7c13096 100644 --- a/qadabra/utils.py +++ b/qadabra/utils.py @@ -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: