Skip to content

Commit

Permalink
remove redundant prints
Browse files Browse the repository at this point in the history
  • Loading branch information
AtaJadidAhari committed May 27, 2024
1 parent ac3f2fd commit 49ddb21
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drop/config/ExportCounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@ def getExportCountFiles(self, count_type, suffix="tsv.gz", expandPattern=None, *

def checkNonExternalGeneAnnotation(self):
excluded_groups = self.config_dict['excludeGroups']
print(excluded_groups)

non_excluded_samples = self.sampleAnnotation.annotationTable[self.sampleAnnotation.annotationTable['DROP_GROUP'].isin(excluded_groups) == False]
print(non_excluded_samples)
if sum(non_excluded_samples['GENE_ANNOTATION'].isna() == False) > 0:
logger.info("WARNING: Found %d samples that had `GENE_ANNOTATION` provided in sample annotation table but are not external counts. The provided `GENE_ANNOTATIONs` are ignored.\n" % (sum(non_excluded_samples['GENE_ANNOTATION'].isna() == False)))
self.sampleAnnotation.annotationTable.loc[self.sampleAnnotation.annotationTable['DROP_GROUP'].isin(excluded_groups) == False, "GENE_ANNOTATION"] = ""

0 comments on commit 49ddb21

Please sign in to comment.