Skip to content

Commit

Permalink
Hopefully fix #334
Browse files Browse the repository at this point in the history
  • Loading branch information
dpryan79 committed Apr 6, 2016
1 parent 3c2d3b7 commit 0544e10
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions deeptools/computeGCBias.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,12 +618,6 @@ def plotGCbias(file_name, frequencies, reads_per_gc, region_size, image_format=N

def main(args=None):
args = parse_arguments().parse_args(args)
# check if directory is writable
if args.blackListFileName:
filter_out_file = args.BlackListFileName
args.filterOut.close()
else:
filter_out_file = None

if args.extraSampling:
extra_sampling_file = args.extraSampling.name
Expand All @@ -635,7 +629,7 @@ def main(args=None):
global_vars = {}
global_vars['2bit'] = args.genome
global_vars['bam'] = args.bamfile
global_vars['filter_out'] = filter_out_file
global_vars['filter_out'] = args.blackListFileName
global_vars['extra_sampling_file'] = extra_sampling_file

bit = twobit.TwoBitFile(open(global_vars['2bit']))
Expand Down

0 comments on commit 0544e10

Please sign in to comment.