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
11cf28f7
Commit
11cf28f7
authored
Dec 02, 2021
by
Gustaf Ahdritz
Browse files
Remove unexpected indent
parent
56632d44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openfold/utils/tensor_utils.py
openfold/utils/tensor_utils.py
+4
-4
No files found.
openfold/utils/tensor_utils.py
View file @
11cf28f7
...
@@ -156,10 +156,10 @@ def _get_minimal_slice_set(
...
@@ -156,10 +156,10 @@ def _get_minimal_slice_set(
# corresponding tensor, modeled as a tree
# corresponding tensor, modeled as a tree
def
reduce_edge_list
(
l
):
def
reduce_edge_list
(
l
):
tally
=
1
tally
=
1
for
i
in
range
(
len
(
l
)):
for
i
in
range
(
len
(
l
)):
reversed_idx
=
-
1
*
(
i
+
1
)
reversed_idx
=
-
1
*
(
i
+
1
)
l
[
reversed_idx
]
*=
tally
l
[
reversed_idx
]
*=
tally
tally
=
l
[
reversed_idx
]
tally
=
l
[
reversed_idx
]
if
(
start_edges
is
None
):
if
(
start_edges
is
None
):
start_edges
=
[
s
==
0
for
s
in
start
]
start_edges
=
[
s
==
0
for
s
in
start
]
...
...
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