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
8e522aca
Commit
8e522aca
authored
Aug 29, 2023
by
Christina Floristean
Browse files
Fix for spatial cropping indexing
parent
6713a264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/data/data_transforms_multimer.py
openfold/data/data_transforms_multimer.py
+1
-1
No files found.
openfold/data/data_transforms_multimer.py
View file @
8e522aca
...
@@ -347,7 +347,7 @@ def get_spatial_crop_idx(protein, crop_size, interface_threshold, generator):
...
@@ -347,7 +347,7 @@ def get_spatial_crop_idx(protein, crop_size, interface_threshold, generator):
return
get_contiguous_crop_idx
(
protein
,
crop_size
,
generator
)
return
get_contiguous_crop_idx
(
protein
,
crop_size
,
generator
)
target_res_idx
=
randint
(
lower
=
0
,
target_res_idx
=
randint
(
lower
=
0
,
upper
=
interface_residues
.
shape
[
-
1
],
upper
=
interface_residues
.
shape
[
-
1
]
-
1
,
generator
=
generator
,
generator
=
generator
,
device
=
positions
.
device
)
device
=
positions
.
device
)
...
...
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