File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1410,13 +1410,6 @@ def alphafold3_input_to_molecule_lengthed_molecule_input(alphafold3_input: Alpha
14101410
14111411 chainable_biomol_entries .append (ss_dna_entries )
14121412
1413- # convert metal ions to rdchem.Mol
1414-
1415- metal_ions = alphafold3_input .metal_ions
1416- mol_metal_ions = map_int_or_string_indices_to_mol (METALS , metal_ions )
1417-
1418- molecule_ids .append (tensor ([MOLECULE_METAL_ION_ID ] * len (mol_metal_ions )))
1419-
14201413 # convert ligands to rdchem.Mol
14211414
14221415 ligands = list (alphafold3_input .ligands )
@@ -1425,6 +1418,13 @@ def alphafold3_input_to_molecule_lengthed_molecule_input(alphafold3_input: Alpha
14251418 ]
14261419
14271420 molecule_ids .append (tensor ([ligand_id ] * len (mol_ligands )))
1421+
1422+ # convert metal ions to rdchem.Mol
1423+
1424+ metal_ions = alphafold3_input .metal_ions
1425+ mol_metal_ions = map_int_or_string_indices_to_mol (METALS , metal_ions )
1426+
1427+ molecule_ids .append (tensor ([MOLECULE_METAL_ION_ID ] * len (mol_metal_ions )))
14281428
14291429 # create the molecule input
14301430
You can’t perform that action at this time.
0 commit comments