From 07ef612be8f11bc3ba8f19cbaa34df6fbde9949e Mon Sep 17 00:00:00 2001 From: Kevin M Jablonka <32935233+kjappelbaum@users.noreply.github.com> Date: Wed, 14 Aug 2024 22:57:47 +0200 Subject: [PATCH] Update revision-scripts/matbench_is_metal.py Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- revision-scripts/matbench_is_metal.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/revision-scripts/matbench_is_metal.py b/revision-scripts/matbench_is_metal.py index 0949444..76b2c64 100644 --- a/revision-scripts/matbench_is_metal.py +++ b/revision-scripts/matbench_is_metal.py @@ -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")