Skip to content

Commit

Permalink
Update revision-scripts/matbench_is_metal.py
Browse files Browse the repository at this point in the history
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
kjappelbaum and sourcery-ai[bot] authored Aug 14, 2024
1 parent 0de6dda commit 07ef612
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions revision-scripts/matbench_is_metal.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@


def convert_structure_to_serializable(pymatgen_structure):
# Assuming Structure has 'data' and 'metadata' attributes
cif_content = pymatgen_structure.to(fmt="cif")
return cif_content
return pymatgen_structure.to(fmt="cif")


@hydra.main(version_base=None, config_path="../conf", config_name="config")
Expand Down

0 comments on commit 07ef612

Please sign in to comment.