Skip to content

Commit

Permalink
unclear if this fixes bug #977 but attempts to make sure logger is av…
Browse files Browse the repository at this point in the history
…ailable
  • Loading branch information
hyphaltip committed Oct 30, 2023
1 parent 24d6aaa commit 765916b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions funannotate/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -5359,6 +5359,7 @@ def gff2dict(file, fasta, Genes, debug=False, gap_filter=False):
for y in [1, 2, 3]:
protSeq = translate(cdsSeq, v["strand"], y - 1)
if not protSeq:
log = logging.getLogger(__name__)
log.debug(
"Translation of {:} using {:} phase failed".format(
v["ids"][i], y - 1
Expand Down

0 comments on commit 765916b

Please sign in to comment.