Skip to content

Commit

Permalink
update the name of log-file
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiia authored Dec 4, 2018
1 parent 6ec4a85 commit 86f28cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/call_peaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 86f28cf

Please sign in to comment.