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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
ProMod3
Commits
5c479ed0
Commit
5c479ed0
authored
Jan 12, 2017
by
Studer Gabriel
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into experimental
parents
d48b2524
6aae24e2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
loop/doc/backbone.rst
+6
-0
6 additions, 0 deletions
loop/doc/backbone.rst
loop/pymod/export_backbone.cc
+6
-0
6 additions, 0 deletions
loop/pymod/export_backbone.cc
modelling/pymod/_closegaps.py
+1
-6
1 addition, 6 deletions
modelling/pymod/_closegaps.py
with
13 additions
and
6 deletions
loop/doc/backbone.rst
+
6
−
0
View file @
5c479ed0
...
...
@@ -299,6 +299,12 @@ The BackboneList class
Remove all residues from this list.
.. method:: Copy()
Creates and returns a deep copy of this :class:`BackboneList`. This can be
useful, since Python uses reference assignments.
:rtype: :class:`BackboneList`
.. method:: ReconstructCBetaPositions()
...
...
...
...
This diff is collapsed.
Click to expand it.
loop/pymod/export_backbone.cc
+
6
−
0
View file @
5c479ed0
...
...
@@ -66,6 +66,11 @@ BackboneListPtr FullInitWrapperRHList(const String& sequence,
return
p
;
}
BackboneListPtr
WrapCopy
(
BackboneListPtr
p
){
BackboneListPtr
return_p
(
new
BackboneList
(
*
p
));
return
return_p
;
}
void
InsertInto_int
(
BackboneListPtr
p
,
ost
::
mol
::
ChainHandle
&
chain
,
uint
start_resnum
)
{
p
->
InsertInto
(
chain
,
start_resnum
);
...
...
@@ -156,6 +161,7 @@ void export_Backbone() {
.
def
(
init
<
const
String
&>
())
.
def
(
"__init__"
,
make_constructor
(
&
FullInitWrapper
))
.
def
(
"__init__"
,
make_constructor
(
&
FullInitWrapperRHList
))
.
def
(
"Copy"
,
&
WrapCopy
)
.
def
(
"ToDensity"
,
&
BackboneList
::
ToDensity
,
(
arg
(
"padding"
)
=
10.0
,
arg
(
"sampling"
)
=
geom
::
Vec3
(
1.0
,
1.0
,
1.0
),
...
...
...
...
This diff is collapsed.
Click to expand it.
modelling/pymod/_closegaps.py
+
1
−
6
View file @
5c479ed0
...
...
@@ -160,7 +160,7 @@ def _CloseLoopFrame(mhandle, gap_orig, actual_candidates, actual_extended_gaps,
start_index
=
actual_extended_gaps
[
i
].
before
.
GetNumber
().
GetNum
()
\
-
min_before_resnum
for
j
,
loop_candidate
in
enumerate
(
loop_candidates
):
actual_frame_backbone_list
=
frame_backbone_list
actual_frame_backbone_list
=
frame_backbone_list
.
Copy
()
actual_frame_backbone_list
.
ReplaceFragment
(
loop_candidate
,
start_index
,
False
)
final_loop_candidates
.
Add
(
actual_frame_backbone_list
)
...
...
@@ -911,11 +911,6 @@ def FillLoopsByMonteCarlo(mhandle, torsion_sampler, max_loops_to_search=6,
if
not
IsBackboneScoringSetUp
(
mhandle
):
SetupDefaultBackboneScoring
(
mhandle
)
# disable AllAtom scoring here
if
score_variant
==
3
:
score_variant
=
0
ost
.
LogInfo
(
"
AllAtom scoring disabled for FillLoopsByMonteCarlo.
"
)
# point to the current gap
gap_idx
=
0
...
...
...
...
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
sign in
to comment