From 7bb6007db420c64cf955327c141b351af6f9cbd5 Mon Sep 17 00:00:00 2001 From: Matteo Giantomassi Date: Mon, 10 Jun 2024 17:25:49 +0200 Subject: [PATCH] Minor changes --- pymatgen/io/abinit/netcdf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pymatgen/io/abinit/netcdf.py b/pymatgen/io/abinit/netcdf.py index 993ed1f4e59..be7cff91a83 100644 --- a/pymatgen/io/abinit/netcdf.py +++ b/pymatgen/io/abinit/netcdf.py @@ -17,7 +17,7 @@ from pymatgen.core.units import ArrayWithUnit #from pymatgen.core.xcfunc import XcFunc -#from pymatgen.core.structure import Structure +from pymatgen.core.structure import Structure if TYPE_CHECKING: from typing_extensions import Self @@ -260,7 +260,6 @@ def type_idx_from_symbol(self, symbol): def read_structure(self, cls=Structure): """Get the crystalline structure stored in the rootgrp.""" if cls is None: - from pymatgen.core.structure import Structure cls = Structure return structure_from_ncdata(self, cls=cls)