Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProMod3
Manage
Activity
Members
Plan
Jira
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
ProMod3
Commits
3f99da8e
Commit
3f99da8e
authored
9 years ago
by
Gerardo Tauriello
Browse files
Options
Downloads
Patches
Plain Diff
SCHWED-882
: fixed return value of MinimizeModelEnergy
parent
659edf1b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modelling/pymod/_pipeline.py
+4
-5
4 additions, 5 deletions
modelling/pymod/_pipeline.py
with
4 additions
and
5 deletions
modelling/pymod/_pipeline.py
+
4
−
5
View file @
3f99da8e
...
...
@@ -330,12 +330,11 @@ def MinimizeModelEnergy(mhandle, max_iterations=12, max_iter_sd=20,
break
# update model
simulation_ent
=
sim
.
GetEntity
()
mhandle
.
model
=
mol
.
CreateEntityFromView
(
\
simulation_ent
.
Select
(
"
peptide=true and ele!=H
"
),
True
)
simulation_ent
=
_GetSimEntity
(
sim
)
mhandle
.
model
=
mol
.
CreateEntityFromView
(
simulation_ent
.
Select
(
"
ele!=H
"
),
True
)
# return model with hydrogens
return
mol
.
CreateEntityFromView
(
simulation_ent
.
Select
(
"
peptide=true
"
),
True
)
return
simulation_ent
def
CheckFinalModel
(
mhandle
):
'''
Performs samity checks on final models and reports problems.
...
...
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