Skip to content

Commit

Permalink
Removed hard-coded TMPDIR setter
Browse files Browse the repository at this point in the history
  • Loading branch information
allanbolipata authored Dec 7, 2018
1 parent a981574 commit 068b982
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions run_ngs-filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ def main():
else:
args.inputHSP = os.path.join(this_dir,"data","hotspot-list-union-v1-v2.txt")

# Create a TMPDIR at /scratch/<username>, if it doesn't already exist
tmp_root = "/scratch/" + getpass.getuser()
if not os.path.exists(tmp_root):
os.makedirs(tmp_root)
os.environ["TMPDIR"] = tmp_root

if(args.verbose):
logger.info("run_ngs-filters: Started the run for wes-filters")
(finalmaf) = run_wes_filters(args)
Expand Down

0 comments on commit 068b982

Please sign in to comment.