From d1a2edd77b0135aec4f25cf8c0c5e41a66df70df Mon Sep 17 00:00:00 2001 From: albeez Date: Fri, 10 Jan 2025 14:07:08 -0500 Subject: [PATCH] Update qual_checks.py --- qual_checks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qual_checks.py b/qual_checks.py index b18c6c5..0f52a11 100644 --- a/qual_checks.py +++ b/qual_checks.py @@ -89,7 +89,8 @@ def cpc_check(self, binary_t13_df): else: # for the rows containing CPC, collect the (row name, column name) for cells that are negative - negative_cpc_dict = {} + negative_cpc_dict = {'error': 'issue'} + """ for row_name, row in cpc_rows.iterrows(): negative_cpc_assays = [] for col_name, cell_value in row.items(): @@ -97,9 +98,10 @@ def cpc_check(self, binary_t13_df): negative_cpc_assays.append(col_name) if negative_cpc_assays: negative_cpc_dict[row_name] = negative_cpc_assays + """ # create a df to store the results negative_cpc_df = pd.DataFrame({col: pd.Series(values) for col, values in negative_cpc_dict.items()}) - + # return cpc_rvp_rows, cpc_p1_rows, cpc_p2_rows, negative_cpc_p1_assays, negative_cpc_p2_assays, p1_assays, p2_assays, rvp_assays, assays, cpc_rows, negative_cpc_df, negative_cpc_dict return negative_cpc_df