Skip to content

Commit

Permalink
remove asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprzh committed May 8, 2024
1 parent d521eb7 commit 113281d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/graph_based_model_construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,6 @@ def process(self, read_assignment_storage):
self.assign_reads_to_models(read_assignment_storage)
self.forward_counts()

# FIXME: remove asserts below
if len(set([x.read_id for x in read_assignment_storage])) != len(self.read_assignment_counts):
logger.warning("Some reads were not assigned %d %d" % (len(set([x.read_id for x in read_assignment_storage])), len(self.read_assignment_counts)))
# FIXME: remove asserts below
if any(value < 0 for value in self.read_assignment_counts.values()):
logger.warning("Negative values in read assignment counts")

transcript_joiner = TranscriptToGeneJoiner(self.transcript_model_storage, self.gene_info)
self.transcript_model_storage = transcript_joiner.join_transcripts()

Expand Down

0 comments on commit 113281d

Please sign in to comment.