Skip to content

Commit

Permalink
Version bump, degrading a warning message to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lucventurini committed Jul 12, 2018
1 parent 4eaa42b commit 8e5e96b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Mikado/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__author__ = 'Luca Venturini'
__license__ = 'GPL3'
__copyright__ = 'Copyright 2015-2016 Luca Venturini'
__version__ = "1.2.2"
__version__ = "1.2.3"

__all__ = ["configuration",
"exceptions",
Expand Down
13 changes: 1 addition & 12 deletions Mikado/transcripts/transcriptchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def check_strand(self):

else:
self.mixed_splices = True
self.logger.warning("Transcript %s has %d positive and %s negative splice junctions",
self.logger.debug("Transcript %s has %d positive and %s negative splice junctions",
self.id,
canonical_counter["+"],
canonical_counter["-"])
Expand All @@ -226,17 +226,6 @@ def check_strand(self):
elif canonical_counter["-"] > 0:
self.reverse_strand()
self.reversed = True
# elif canonical_counter["-"] > 0 and self.strand_specific is True:
# self.logger.warning(
# "Transcript %s has been assigned to the wrong strand, tagging it but leaving it on this strand.",
# self.id)
# self.attributes["canonical_on_reverse_strand"] = True
# elif self.strand_specific is False:
# assert canonical_counter["+"] + canonical_counter[None] == len(self.introns)

# self.attributes["canonical_splices"] = ",".join(
# str(k) for k in canonical_index.keys() if
# canonical_index[k] in ("+", "-"))

if canonical_counter["+"] >= canonical_counter["-"] or (
max(canonical_counter["-"], canonical_counter["+"]) > 0 and self.strand_specific is True):
Expand Down

0 comments on commit 8e5e96b

Please sign in to comment.