mirror of
https://gitlab.com/scemama/resultsFile.git
synced 2024-12-22 20:34:13 +01:00
Add normf in gamessFile
This commit is contained in:
parent
202a426062
commit
2646704b22
@ -75,7 +75,9 @@ class gamessFile(resultsFile.resultsFileX):
|
|||||||
self.find_string("RUN TITLE")
|
self.find_string("RUN TITLE")
|
||||||
self.find_next_string("NORMF = ")
|
self.find_next_string("NORMF = ")
|
||||||
pos = self._pos
|
pos = self._pos
|
||||||
self._normf = int(self.text[pos].split("=")[1].split()[0])
|
buffer = self.text[pos].split("=")
|
||||||
|
assert buffer[0].strip() == "NORMF"
|
||||||
|
self._normf = int(buffer[1].split()[0])
|
||||||
except IndexError:
|
except IndexError:
|
||||||
pass
|
pass
|
||||||
return self._normf
|
return self._normf
|
||||||
|
Loading…
Reference in New Issue
Block a user