Skip to content

Commit

Permalink
delete unused logger statements
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiia authored Dec 4, 2018
1 parent 3fd48cc commit 6ec4a85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/call_peaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def parse_args():
def check_directory(directory):
if not os.path.exists(directory):
os.makedirs(directory)
#logger.info('a new directory ' + directory + ' was created')
print('a new directory ' + directory + ' was created')

#check if the file to remove exists and if so, delete it
Expand All @@ -64,7 +63,6 @@ def check_existing_input_files(args):
sys.exit()
#check if the bed file exists
if not os.path.isfile(args.bed):
#logger.info('there is no such bed file ' + args.bed_file + ', the exit is forced')
print('there is no such bed file ' + args.bed + ', the exit is forced')
sys.exit()

Expand Down Expand Up @@ -350,4 +348,4 @@ def main():
logger.removeFilter(handler)

if __name__ == "__main__":
main()
main()

0 comments on commit 6ec4a85

Please sign in to comment.