Skip to content

Commit

Permalink
make output dir for mount
Browse files Browse the repository at this point in the history
  • Loading branch information
lruizcalico committed Feb 23, 2024
1 parent 3ebf8fc commit 4452066
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/baskerville/scripts/hound_snp.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,10 @@ def main():
gcs_output_dir = options.out_dir
temp_dir = tempfile.mkdtemp() # create a temp dir for output
out_dir = temp_dir + "/output_dir"
if not os.path.isdir(out_dir):
os.mkdir(out_dir)
options.out_dir = out_dir
options.out_dir = options.out_dir

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

if len(args) == 3:
# single worker
Expand Down

0 comments on commit 4452066

Please sign in to comment.