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
ec18f4bb
Commit
ec18f4bb
authored
12 years ago
by
Valerio Mariani
Browse files
Options
Downloads
Patches
Plain Diff
Fixes severe bugs in loading models for lddt
The feasibility check flag in the profile was ignored until now
parent
3643b0be
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/mol/alg/src/lddt.cc
+2
-1
2 additions, 1 deletion
modules/mol/alg/src/lddt.cc
with
2 additions
and
1 deletion
modules/mol/alg/src/lddt.cc
+
2
−
1
View file @
ec18f4bb
...
...
@@ -55,9 +55,10 @@ EntityHandle load(const String& file, const IOProfile& profile)
EntityHandle
ent
=
CreateEntity
();
reader
.
Import
(
ent
);
conop
::
Conopology
&
conop_inst
=
conop
::
Conopology
::
Instance
();
conop_inst
.
GetBuilder
()
->
SetBondFeasibilityCheck
(
profile
.
bond_feasibility_check
);
conop_inst
.
ConnectAll
(
conop_inst
.
GetBuilder
(),
ent
);
if
(
ent
.
GetChainList
().
size
()
!=
1
)
{
std
::
cout
<<
"WARNING: File "
<<
file
<<
"has more than one chain"
<<
std
::
endl
;
std
::
cout
<<
"WARNING: File "
<<
file
<<
"
has more than one chain"
<<
std
::
endl
;
}
return
ent
;
}
...
...
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