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
c58f3cd8
Commit
c58f3cd8
authored
Oct 20, 2021
by
Gustaf Ahdritz
Browse files
Fix another inference-time data parser bug
parent
d65b76a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/data/data_transforms.py
openfold/data/data_transforms.py
+1
-1
No files found.
openfold/data/data_transforms.py
View file @
c58f3cd8
...
@@ -1132,7 +1132,7 @@ def random_crop_to_size(
...
@@ -1132,7 +1132,7 @@ def random_crop_to_size(
num_templates_crop_size
=
num_templates
num_templates_crop_size
=
num_templates
n
=
seq_length
-
num_res_crop_size
n
=
seq_length
-
num_res_crop_size
if
protein
[
"use_clamped_fape"
]
==
1.
:
if
"use_clamped_fape"
in
protein
and
protein
[
"use_clamped_fape"
]
==
1.
:
right_anchor
=
n
right_anchor
=
n
else
:
else
:
x
=
_randint
(
0
,
n
)
x
=
_randint
(
0
,
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