mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 22:25:48 -04:00
flake8 fixes
This commit is contained in:
parent
37d0636e2e
commit
bc08e3879f
1 changed files with 4 additions and 4 deletions
|
|
@ -20,9 +20,9 @@ class XYZ_file:
|
|||
self.AtomPos = []
|
||||
self.AtomVel = []
|
||||
self.AtomId = []
|
||||
print "am here"
|
||||
print("am here")
|
||||
else:
|
||||
print "loading file", name
|
||||
print("loading file", name)
|
||||
self.LoadFile(name)
|
||||
|
||||
def LoadFile(self,FileName):
|
||||
|
|
@ -103,6 +103,6 @@ class XYZ_file:
|
|||
|
||||
if __name__ == '__main__':
|
||||
a = XYZ_file("test.xyz")
|
||||
print a.AtomPos[0]
|
||||
print a.BondLength(1, 2)
|
||||
print(a.AtomPos[0])
|
||||
print(a.BondLength(1, 2))
|
||||
a.WriteFile("test1.xyz")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue