Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/calico/basenji
Browse files Browse the repository at this point in the history
  • Loading branch information
davek44 committed May 17, 2019
2 parents 6c58e58 + 80d797b commit 1df10f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/basenji_sat_bed.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ def main():
# single worker
params_file = args[0]
model_file = args[1]
vcf_file = args[2]
bed_file = args[2]

elif len(args) == 5:
# multi worker
options_pkl_file = args[0]
params_file = args[1]
model_file = args[2]
vcf_file = args[3]
bed_file = args[3]
worker_index = int(args[4])

# load options
Expand All @@ -96,7 +96,7 @@ def main():
options.out_dir = '%s/job%d' % (options.out_dir, worker_index)

else:
parser.error('Must provide parameters and model files and QTL VCF file')
parser.error('Must provide parameters and model files and QTL BED file')

if not os.path.isdir(options.out_dir):
os.mkdir(options.out_dir)
Expand Down

0 comments on commit 1df10f3

Please sign in to comment.