You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two issues I've found running this code:
I think shutil.which is only availible for python3 but the ipython notbook defaults to opening in python2. I switched to using subprocess and it works fine
def check_path(path):
"""Check if the specified program is in the PATH and can be run in a shell."""
import subprocess
checker = subprocess.check_output(['which',path])
if checker:
print('SUCCESS: {} found!'.format(path))
return checker
else:
raise OSError('FAILURE: unable to find {}'.format(path))
fatcat and scratch install instructions do not create mononyms for these programs. This is easily resolved:
ssbio/docs/tutorials.ipynb
Line 7 in 6f41652
There are two issues I've found running this code:
shutil.which
is only availible for python3 but the ipython notbook defaults to opening in python2. I switched to using subprocess and it works fineThe text was updated successfully, but these errors were encountered: