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
201eafdf
Commit
201eafdf
authored
Jan 16, 2024
by
Jennifer
Browse files
np type update in openfold.np.relax
parent
2ed81151
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/np/relax/utils.py
openfold/np/relax/utils.py
+1
-1
No files found.
openfold/np/relax/utils.py
View file @
201eafdf
...
...
@@ -79,7 +79,7 @@ def assert_equal_nonterminal_atom_types(
"""Checks that pre- and post-minimized proteins have same atom set."""
# Ignore any terminal OXT atoms which may have been added by minimization.
oxt
=
residue_constants
.
atom_order
[
"OXT"
]
no_oxt_mask
=
np
.
ones
(
shape
=
atom_mask
.
shape
,
dtype
=
np
.
bool
)
no_oxt_mask
=
np
.
ones
(
shape
=
atom_mask
.
shape
,
dtype
=
bool
)
no_oxt_mask
[...,
oxt
]
=
False
np
.
testing
.
assert_almost_equal
(
ref_atom_mask
[
no_oxt_mask
],
atom_mask
[
no_oxt_mask
]
...
...
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