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
d4b6163d
"git@developer.sourcefind.cn:OpenDAS/dynamo.git" did not exist on "9162f3ad2a9578072eac3c42bca7420041a5a6f1"
Commit
d4b6163d
authored
Jun 21, 2023
by
Geoffrey Yu
Browse files
fixed the assertion errors in get_optimal_transform
parent
e3e8a681
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/unifold_permutation.py
tests/unifold_permutation.py
+1
-1
No files found.
tests/unifold_permutation.py
View file @
d4b6163d
...
@@ -139,7 +139,7 @@ def multi_chain_perm_align(out, batch, labels, shuffle_times=2):
...
@@ -139,7 +139,7 @@ def multi_chain_perm_align(out, batch, labels, shuffle_times=2):
anchor_residue_idx
=
per_asym_residue_index
[
int
(
cur_asym_id
)]
anchor_residue_idx
=
per_asym_residue_index
[
int
(
cur_asym_id
)]
print
(
f
"anchor_residue_idx:
{
anchor_residue_idx
}
,anchor_gt_idx:
{
anchor_gt_idx
}
\n
"
)
print
(
f
"anchor_residue_idx:
{
anchor_residue_idx
}
,anchor_gt_idx:
{
anchor_gt_idx
}
\n
"
)
anchor_true_pos
=
true_ca_poses
[
anchor_gt_idx
][
anchor_residue_idx
]
anchor_true_pos
=
true_ca_poses
[
anchor_gt_idx
][
anchor_residue_idx
[:,
0
]]
# somehow need to only use the first column in anchor_residue_idx
asym_mask
=
asym_mask
[:,
0
]
# somehow need to adjust the asym_mask shape
asym_mask
=
asym_mask
[:,
0
]
# somehow need to adjust the asym_mask shape
anchor_pred_pos
=
pred_ca_pos
[
asym_mask
]
anchor_pred_pos
=
pred_ca_pos
[
asym_mask
]
print
(
f
"true_ca_masks:
\n
"
)
print
(
f
"true_ca_masks:
\n
"
)
...
...
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