Skip to content

Commit

Permalink
Import logger from main into submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
seina001 committed Mar 20, 2024
1 parent 7b4e839 commit 28b74d6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions itsxpress/Dedup.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ def _map_func(ziprecord):
start, stop, tlen = itspos.get_position(repseq)
r2start = tlen - stop
r2end = tlen - start #calculate end of R2
#Log start, stop, and tlen, r2start, r2end with names and sequence ids
logging.info("Start: {} Stop: {} Tlen: {} R2start: {} R2end: {} for sequence ID: {}".format(start, stop, tlen, r2start, r2end, record1.id))
try:
if stop > tlen:
record1_return = record1[start:]
Expand Down
1 change: 1 addition & 0 deletions itsxpress/ITSposition.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging
logger = logging.getLogger(__name__)

class ItsPosition:
"""Class for ITS positional information derived from hmmserach domtable files.
Expand Down
1 change: 1 addition & 0 deletions itsxpress/SeqSample.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import logging
logger = logging.getLogger(__name__)
import tempfile
import subprocess

Expand Down
1 change: 1 addition & 0 deletions itsxpress/SeqSamplePaired.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import subprocess
import logging
logger = logging.getLogger(__name__)
import os
import pyzstd as zstd

Expand Down

0 comments on commit 28b74d6

Please sign in to comment.