Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gmatteo committed Jun 10, 2024
1 parent 7b378df commit 7bb6007
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pymatgen/io/abinit/netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 7bb6007

Please sign in to comment.