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
af457b95
Commit
af457b95
authored
May 06, 2024
by
Jennifer Wei
Browse files
adds mpi4py to environment and removes stray print statements from test
parent
9b6c1dac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
environment.yml
environment.yml
+1
-0
tests/test_permutation.py
tests/test_permutation.py
+0
-2
No files found.
environment.yml
View file @
af457b95
...
...
@@ -32,6 +32,7 @@ dependencies:
-
bioconda::kalign2==2.04
-
pytorch::pytorch=1.12.*
-
pip
:
-
mpi4py==3.1.5
-
deepspeed==0.12.4
-
dm-tree==0.1.6
-
git+https://github.com/NVIDIA/dllogger.git
...
...
tests/test_permutation.py
View file @
af457b95
...
...
@@ -113,7 +113,6 @@ class TestPermutation(unittest.TestCase):
aligns
,
_
=
compute_permutation_alignment
(
out
,
batch
,
batch
)
print
(
f
"##### aligns is
{
aligns
}
"
)
possible_outcome
=
[[(
0
,
1
),
(
1
,
0
),
(
2
,
3
),
(
3
,
4
),
(
4
,
2
)],
[(
0
,
0
),
(
1
,
1
),
(
2
,
3
),
(
3
,
4
),
(
4
,
2
)]]
wrong_outcome
=
[[(
0
,
1
),
(
1
,
0
),
(
2
,
4
),
(
3
,
2
),
(
4
,
3
)],
[(
0
,
0
),
(
1
,
1
),
(
2
,
2
),
(
3
,
3
),
(
4
,
4
)]]
self
.
assertIn
(
aligns
,
possible_outcome
)
...
...
@@ -163,7 +162,6 @@ class TestPermutation(unittest.TestCase):
aligns
,
per_asym_residue_index
=
compute_permutation_alignment
(
out
,
batch
,
batch
)
print
(
f
"##### aligns is
{
aligns
}
"
)
labels
=
split_ground_truth_labels
(
batch
)
labels
=
merge_labels
(
per_asym_residue_index
,
labels
,
aligns
,
...
...
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