@@ -2806,6 +2806,7 @@ def forward(
28062806 ligand_loss_weight = 10. ,
28072807 return_loss_breakdown = False ,
28082808 single_structure_input = False ,
2809+ filepaths : List [str ] | None = None ,
28092810 ) -> ElucidatedAtomDiffusionReturn :
28102811
28112812 # diffusion loss
@@ -2875,7 +2876,7 @@ def forward(
28752876 )
28762877 except Exception as e :
28772878 # NOTE: For many (random) unit test inputs, permutation alignment can be unstable
2878- logger .warning (f"Skipping multi-chain permutation alignment due to: { e } " )
2879+ logger .warning (f"Skipping multi-chain permutation alignment { f'for { filepaths } ' if exists ( filepaths ) else '' } due to: { e } " )
28792880
28802881 # main diffusion mse loss
28812882
@@ -6366,7 +6367,8 @@ def forward(
63666367 detach_when_recycling : bool = None ,
63676368 min_conf_resolution : float = 0.1 ,
63686369 max_conf_resolution : float = 4.0 ,
6369- hard_validate : bool = False
6370+ hard_validate : bool = False ,
6371+ filepaths : List [str ] | None = None
63706372 ) -> (
63716373 Float ['b m 3' ] |
63726374 Float ['ts b m 3' ] |
@@ -6849,6 +6851,7 @@ def forward(
68496851 nucleotide_loss_weight = self .nucleotide_loss_weight ,
68506852 ligand_loss_weight = self .ligand_loss_weight ,
68516853 single_structure_input = single_structure_input ,
6854+ filepaths = filepaths ,
68526855 )
68536856
68546857 # confidence head
@@ -6920,7 +6923,7 @@ def forward(
69206923 )
69216924 except Exception as e :
69226925 # NOTE: For many (random) unit test inputs, permutation alignment can be unstable
6923- logger .warning (f"Skipping multi-chain permutation alignment due to: { e } " )
6926+ logger .warning (f"Skipping multi-chain permutation alignment { f'for { filepaths } ' if exists ( filepaths ) else '' } due to: { e } " )
69246927
69256928 assert exists (
69266929 distogram_atom_indices
0 commit comments