flake8 fixes

This commit is contained in:
edoapra 2021-10-29 14:23:33 -07:00
parent 37d0636e2e
commit bc08e3879f
No known key found for this signature in database
GPG key ID: 472C4EBB4F3AEDFA

View file

@ -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")