Skip to content

Commit

Permalink
Pydocstyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
knc6 committed Jul 24, 2020
1 parent 0faa8a5 commit 27f65ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion jarvis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
"""Version number."""
__version__ = "2020.7.23"

7 changes: 3 additions & 4 deletions jarvis/analysis/interface/zur.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,10 @@ def get_hetero_type(A={}, B={}):
"""
if __name__ == "__main__":
s1 = Poscar.from_file(
"/rk2/knc6/JARVIS-DFT/2D-1L/POSCAR-mp-1821-1L.vasp_PBEBO/MAIN-RELAX-Surf-mp-1821/POSCAR"
"MAIN-RELAX-Surf-mp-1821/POSCAR"
)
s2 = Poscar.from_file(
"/rk2/knc6/JARVIS-DFT/2D-1L/POSCAR-mp-2815-1L.vasp_PBEBO/MAIN-RELAX-Surf-mp-2815/POSCAR"
"MAIN-RELAX-Surf-mp-2815/POSCAR"
)
print(s1)
print(s2)
Expand All @@ -459,10 +459,9 @@ def get_hetero_type(A={}, B={}):
f = open("test.json", "wb")
joblib.dump(s1, f)
f.close()
print(get_hetero(s1.atoms, s2.atoms))
ff = open("test.json", "rb")
dd = joblib.load(ff)
ff.close()
# print (dd.atoms.lattice_mat)
"""
"""

0 comments on commit 27f65ba

Please sign in to comment.