Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
913903e0
Commit
913903e0
authored
Aug 18, 2022
by
Gustaf Ahdritz
Browse files
Revert earlier change
parent
e56b5976
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openfold/utils/feats.py
openfold/utils/feats.py
+3
-3
No files found.
openfold/utils/feats.py
View file @
913903e0
...
@@ -128,9 +128,9 @@ def build_template_pair_feat(
...
@@ -128,9 +128,9 @@ def build_template_pair_feat(
n
,
ca
,
c
=
[
rc
.
atom_order
[
a
]
for
a
in
[
"N"
,
"CA"
,
"C"
]]
n
,
ca
,
c
=
[
rc
.
atom_order
[
a
]
for
a
in
[
"N"
,
"CA"
,
"C"
]]
rigids
=
Rigid
.
make_transform_from_reference
(
rigids
=
Rigid
.
make_transform_from_reference
(
n_xyz
=
batch
[
"template_all_atom_positions"
][...,
n
,
:]
.
float
()
,
n_xyz
=
batch
[
"template_all_atom_positions"
][...,
n
,
:],
ca_xyz
=
batch
[
"template_all_atom_positions"
][...,
ca
,
:]
.
float
()
,
ca_xyz
=
batch
[
"template_all_atom_positions"
][...,
ca
,
:],
c_xyz
=
batch
[
"template_all_atom_positions"
][...,
c
,
:]
.
float
()
,
c_xyz
=
batch
[
"template_all_atom_positions"
][...,
c
,
:],
eps
=
eps
,
eps
=
eps
,
)
)
points
=
rigids
.
get_trans
()[...,
None
,
:,
:]
points
=
rigids
.
get_trans
()[...,
None
,
:,
:]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment