google-deepmind / google-deepmind/materials_discovery

Two CIFs cannot be converted to pymatgen objects

Open
#12 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.2k
Forks
197
PR merge metrics
No merged PRs in 30d

Description

A very minor issue, but two CIFs with IDs = 0e2d8f26d6, cdc06a1a2a cannot be converted to pymatgen `Structure` objects as of `pymatgen==2023.12.18`.

They're still parsable with `pymatgen.io.cif.CifParser`, but trying to call `get_structures` on the `CifParser` object, or directly calling `pymatgen.core.Structure.from_file` on these CIFs throws `ValueError: Invalid CIF file with no structures!`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.