Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gmatteo committed Dec 25, 2023
1 parent 7cdfcbf commit 686d7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/io/abinit/netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def structure_from_ncdata(ncdata, site_properties=None, cls=None):
if cls is None:
from pymatgen.core.structure import Structure
cls = Structure
ncdata, closeit = as_ncreader(ncdata)
ncdata, close_it = as_ncreader(ncdata)

# TODO check whether atomic units are used
lattice = ArrayWithUnit(ncdata.read_value("primitive_vectors"), "bohr").to("ang")
Expand Down

0 comments on commit 686d7d7

Please sign in to comment.