Skip to content

Commit 5af5dd1

Browse files
authored
Update msa_parsing.py (#249)
1 parent e911bea commit 5af5dd1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

alphafold3_pytorch/data/msa_parsing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ def get_msa_type(msa_chem_type: int) -> MSA_TYPE:
6363
return "rna"
6464
elif msa_chem_type == 2:
6565
return "dna"
66+
elif msa_chem_type == 3:
67+
return "ligand"
6668
else:
67-
raise ValueError(f"Unknown MSA chemical type: {msa_chem_type}")
69+
raise ValueError(f"Invalid MSA chemical type: {msa_chem_type}")
6870

6971

7072
@typecheck

0 commit comments

Comments
 (0)