Skip to content

Commit f0a5811

Browse files
authored
Add missing dependency (#277)
* Update pyproject.toml * Update inputs.py
1 parent 8767b08 commit f0a5811

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

alphafold3_pytorch/inputs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ def hard_validate_atom_indices_ascending(
251251
all_present = (sample_indices >= 0).all(dim=-1)
252252
present_indices = sample_indices[all_present]
253253

254-
# NOTE: this is a relaxed assumption, i.e., that if all -1 or only one molecule, then it passes the test
254+
# NOTE: this is a relaxed assumption, i.e., that if empty, all -1, or only one molecule, then it passes the test
255255

256-
if present_indices.shape[-1] <= 1:
256+
if present_indices.numel() == 0 or present_indices.shape[-1] <= 1:
257257
continue
258258

259259
difference = einx.subtract(

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers=[
2525

2626
dependencies = [
2727
"adam-atan2-pytorch>=0.0.8",
28+
"awscliv2>=2.3.1",
2829
"beartype",
2930
"biopython>=1.83",
3031
"click>=8.1",

0 commit comments

Comments
 (0)