Skip to content

Commit cd9d81b

Browse files
committed
fix loging path and redundancy
1 parent 8a30ecc commit cd9d81b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

bolt/workflows/smlv_somatic/annotate.py

-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ def entry(ctx, **kwargs):
5151

5252
setup_logging(output_dir, "smlv_somatic.log")
5353

54-
# Create a logger instance
55-
logger = logging.getLogger(__name__)
56-
5754
# Set all FILTER="." to FILTER="PASS" as required by PURPLE
5855
filter_pass_fp = set_filter_pass(kwargs['vcf_fp'], kwargs['tumor_name'], output_dir)
5956

bolt/workflows/smlv_somatic/report.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def entry(ctx, **kwargs):
5252
output_dir.mkdir(mode=0o755, parents=True, exist_ok=True)
5353

5454
script_name = pathlib.Path(__file__).stem
55-
setup_logging("logs", script_name)
55+
setup_logging(output_dir, script_name)
5656

5757
# BCFtools stats
5858
bcftools_vcf_fp = bcftools_stats_prepare(kwargs['vcf_fp'], kwargs['tumor_name'], output_dir)

0 commit comments

Comments
 (0)