Skip to content
Snippets Groups Projects
Commit aeb0c11c authored by Studer Gabriel's avatar Studer Gabriel
Browse files

clarify error message when determining HHblits version string

parent 31a93662
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,12 @@ def GetHHblitsVersionString():
version_string = None
# raises if hhblits binary is not in path
hhblits_bin = settings.Locate('hhblits')
try:
hhblits_bin = settings.Locate('hhblits')
except:
raise RuntimeError('Tried to determine HHblits version string which '\
'requires the hhblits binary to be in your path. '\
'Couldnt find it...')
# run hhblits to determine version
proc = subprocess.run([hhblits_bin, '-h'], stdout=subprocess.PIPE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment