10
0
mirror of https://gitlab.com/scemama/resultsFile.git synced 2024-12-22 04:13:41 +01:00

Fixed bug for spherical AOs

This commit is contained in:
Anthony Scemama 2021-12-17 17:43:32 +01:00
parent f310b2a29b
commit 427514e36e
2 changed files with 4 additions and 1 deletions

View File

@ -566,6 +566,9 @@ class gaussianFile(resultsFile.resultsFileX):
curatom = 1
vectors = []
while pos < end:
line = self.text[pos].split()
if 'Density' in line:
break
pos += 1
if index == 'Natural':
syms = [ None for k in range(5) ]

View File

@ -83,7 +83,7 @@ def get_data(var,txt,pos,type=""):
pos = self._pos
if pos is not None:
line = self.text[pos].split()"""
if type is "":
if type == "":
line += """
self._%(var)s = ' '.join(line[%(pos)s])"""
else: