We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef8a1c commit 9cf96d1Copy full SHA for 9cf96d1
src/diffpy/structure/__init__.py
@@ -37,7 +37,8 @@
37
38
# Interface definitions ------------------------------------------------------
39
40
-import os
+import os
41
+
42
from diffpy.structure.atom import Atom
43
from diffpy.structure.lattice import Lattice
44
from diffpy.structure.parsers import getParser
tests/test_loadstructure.py
@@ -62,6 +62,7 @@ def test_badkwarg(self):
62
def test_cif_pathlib(self):
63
"""check loading CIF file using pathlib.Path input"""
64
from pathlib import Path
65
66
f = self.datafile("PbTe.cif")
67
f_path = Path(f) # Convert to Path object
68
stru = loadStructure(f_path)
0 commit comments