10
0
mirror of https://gitlab.com/scemama/resultsFile.git synced 2024-11-07 14:43:42 +01:00

Merge branch 'neelravi-master-patch-46943' into 'master'

Consider the possibility of point group symmetries which does not have NAXIS...

See merge request scemama/resultsFile!3
This commit is contained in:
Anthony Scemama 2022-09-06 15:08:28 +00:00
commit d44905833e

View File

@ -587,7 +587,10 @@ class gamessFile(resultsFile.resultsFileX):
pos = self._pos pos = self._pos
line = self.text[pos].replace(',',' ').split() line = self.text[pos].replace(',',' ').split()
group = line[4] group = line[4]
if "NAXIS=" in line:
self._point_group = group.replace('N',line[6]) self._point_group = group.replace('N',line[6])
else:
self._point_group = group
except IndexError: except IndexError:
pass pass
return self._point_group return self._point_group