Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
aeb0c11c
Commit
aeb0c11c
authored
4 years ago
by
Studer Gabriel
Browse files
Options
Downloads
Patches
Plain Diff
clarify error message when determining HHblits version string
parent
31a93662
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/bindings/pymod/hhblits.py
+6
-1
6 additions, 1 deletion
modules/bindings/pymod/hhblits.py
with
6 additions
and
1 deletion
modules/bindings/pymod/hhblits.py
+
6
−
1
View file @
aeb0c11c
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment