From 86f28cfd269026cabca7382217b375ad4ab1bc99 Mon Sep 17 00:00:00 2001 From: anastasiia Date: Tue, 4 Dec 2018 12:05:42 +0100 Subject: [PATCH] update the name of log-file --- bin/call_peaks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/call_peaks.py b/bin/call_peaks.py index 24ef880..f5214f1 100644 --- a/bin/call_peaks.py +++ b/bin/call_peaks.py @@ -317,8 +317,8 @@ def main(): #check if there is an existing directory that user gave as input, otherwise create this directory from the path provided from the user #check_directory(args.output_directory) - #fh = logging.FileHandler(os.path.join(args.output_directory, "call_peaks_log.txt")) - fh = logging.FileHandler("call_peaks_log.txt") + #fh = logging.FileHandler(os.path.join(args.output_directory, "call_peaks_log.log")) + fh = logging.FileHandler("call_peaks_log.log") fh.setLevel(logging.INFO) fh.setFormatter(formatter) logger.addHandler(fh)