Skip to content

Commit

Permalink
Software Update v3.3.1
Browse files Browse the repository at this point in the history
Fixed bug in coinf_check module
  • Loading branch information
fsalbeez committed Sep 30, 2024
1 parent 0929c28 commit bdd4964
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion analyze_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@

# apply the NTC thresholding to the t13_dataframe to produce a new dataframe with the positive/negative denotation
# and save the file to your working directory
ntc_PerAssay, ntc_thresholds_output, t13_hit_output = thresholdr.raw_thresholder(unique_crRNA_assays, assigned_norms['signal_norm_raw'], t13_dataframe_copy1, CLI_arg[1])
ntc_thresholds_output, t13_hit_output = thresholdr.raw_thresholder(unique_crRNA_assays, assigned_norms['signal_norm_raw'], t13_dataframe_copy1, CLI_arg[1])

# make copies of t13_hit_output csv for downstream summaries and quality control checks
t13_hit_output_copy1 = pd.DataFrame(t13_hit_output).copy() # make a copy of t13_hit_output # used in ndc qual check
Expand Down
2 changes: 1 addition & 1 deletion qual_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def coinf_check(self, t13_hit_binary_output):

# convert coninf_samples_by_assay into a df for easy output
coinf_df = pd.DataFrame.from_dict(coinf_samples_by_assay, orient='index')
coinf_df.drop('Summary')
#coinf_df.drop('Summary')

return coinf_df

Expand Down
2 changes: 1 addition & 1 deletion threshold.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ def raw_thresholder(self, unique_crRNA_assays, assigned_only, t13_df, CLI_thresh
# Create a new row called 'Summary' at the bottom of the hit output sheet
t13_df.loc['Summary'] = t13_df.apply(lambda col: col.value_counts().get('positive', 0))

return ntc_PerAssay, raw_thresholds_df, t13_df
return raw_thresholds_df, t13_df


0 comments on commit bdd4964

Please sign in to comment.