Skip to content

Commit af457b9

Browse files
committed
adds mpi4py to environment and removes stray print statements from test
1 parent 9b6c1da commit af457b9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ dependencies:
3232
- bioconda::kalign2==2.04
3333
- pytorch::pytorch=1.12.*
3434
- pip:
35+
- mpi4py==3.1.5
3536
- deepspeed==0.12.4
3637
- dm-tree==0.1.6
3738
- git+https://github.com/NVIDIA/dllogger.git

tests/test_permutation.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ def test_2_permutation_pentamer(self):
113113

114114
aligns, _ = compute_permutation_alignment(out, batch,
115115
batch)
116-
print(f"##### aligns is {aligns}")
117116
possible_outcome = [[(0, 1), (1, 0), (2, 3), (3, 4), (4, 2)], [(0, 0), (1, 1), (2, 3), (3, 4), (4, 2)]]
118117
wrong_outcome = [[(0, 1), (1, 0), (2, 4), (3, 2), (4, 3)], [(0, 0), (1, 1), (2, 2), (3, 3), (4, 4)]]
119118
self.assertIn(aligns, possible_outcome)
@@ -163,7 +162,6 @@ def test_3_merge_labels(self):
163162
aligns, per_asym_residue_index = compute_permutation_alignment(out,
164163
batch,
165164
batch)
166-
print(f"##### aligns is {aligns}")
167165
labels = split_ground_truth_labels(batch)
168166

169167
labels = merge_labels(per_asym_residue_index, labels, aligns,

0 commit comments

Comments
 (0)