Skip to content

Commit

Permalink
mqsub: Do not default to microbiome conda env.
Browse files Browse the repository at this point in the history
Suggested by: Craig Windell.
  • Loading branch information
wwood committed Aug 28, 2023
1 parent c1fc408 commit 747f262
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/mqsub
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,8 @@ class script_format:
try:
current_conda_env = os.environ['CONDA_PREFIX']
except:
current_conda_env = str('/mnt/hpccs01/work/microbiome/conda/bin/conda')
pass
if current_conda_env:
# print('. /pkg/suse12/software/miniconda3/4.5.12/etc/profile.d/conda.sh',file=outfile)
# print('conda activate',file=outfile)
print("conda activate '{}'".format(current_conda_env),file=outfile)
if args.command_file and (args.chunk_num or args.chunk_size):
print("\nNUM_FAILED=0\n", file=outfile)
Expand Down

0 comments on commit 747f262

Please sign in to comment.