Skip to content

Commit 7edaed6

Browse files
committed
Fix logging configuration in referenceless
1 parent 85445a0 commit 7edaed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micall/utils/referenceless_contig_stitcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ def referenceless_contig_stitcher(
932932
Wrapper that initializes a fresh stitching context and calls the core stitching function.
933933
"""
934934
with ReferencelessStitcherContext.fresh() as ctx:
935-
if logger.level == logging.DEBUG - 1:
935+
if logger.getEffectiveLevel() == logging.DEBUG - 1:
936936
ctx.is_debug2 = True
937937
return referenceless_contig_stitcher_with_ctx(input_fasta, output_fasta)
938938

0 commit comments

Comments
 (0)