We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 293d168 commit 165674fCopy full SHA for 165674f
alphafold3_pytorch/inputs.py
@@ -3414,9 +3414,11 @@ def get_item(self, idx: int | str) -> PDBInput | AtomInput | None:
3414
# get the mmCIF file corresponding to the sampled structure
3415
3416
if not exists(mmcif_filepath):
3417
- raise FileNotFoundError(f"mmCIF file for PDB ID {pdb_id} not found.")
3418
- if not os.path.exists(mmcif_filepath):
3419
- raise FileNotFoundError(f"mmCIF file {mmcif_filepath} not found.")
+ logger.warning(f"mmCIF file for PDB ID {pdb_id} not found.")
+ return None
+ elif not os.path.exists(mmcif_filepath):
3420
+ logger.warning(f"mmCIF file {mmcif_filepath} not found.")
3421
3422
3423
cropping_config = None
3424
0 commit comments