Browse Source

Remove OSF client from snakemake install script

fix-instructions
Charles Reid 7 years ago
parent
commit
fb125ae9a4
  1. 10
      tasks_user/install_snakemake.py

10
tasks_user/install_snakemake.py

@ -54,9 +54,6 @@ def install_snakemake(): @@ -54,9 +54,6 @@ def install_snakemake():
if(rc != 0):
raise Exception()
# ---------------------------
# Install osf cli client
pyenvbin = os.environ['HOME']
pipbin = pyenvbin+"/.pyenv/shims/pip"
@ -65,13 +62,8 @@ def install_snakemake(): @@ -65,13 +62,8 @@ def install_snakemake():
if(rc != 0):
raise Exception()
print(" - Installing OSF CLI client")
rc = subprocess.call([pipbin,"install","--user","osfclient"], stdout=FNULL)
if(rc != 0):
raise Exception()
print(" ~~*~~ ~~*~~ ~~*~~ SUCCESS! ~~*~~ ~~*~~ ~~*~~\n")
print(" Snakemake and the OSF client are now installed.")
print(" Snakemake is now installed.")
print(" Test that snakemake is working using the following one-liner:\n")
print(" python -c 'import snakemake'")
print()

Loading…
Cancel
Save