3
0
mirror of https://github.com/NehZio/Crystal-MEC synced 2024-12-22 12:23:51 +01:00

Changed an error in the read_input function when reading the symmetry_generators

This commit is contained in:
Léo Gaspard 2021-03-09 21:08:57 +01:00
parent 62026ecc8e
commit ca0318c37b

View File

@ -162,10 +162,10 @@ def read_input(inputFile):
elif ls[0].casefold() == 'evjen':
evjen = True
elif ls[0].casefold() == 'symmetry_generator':
line = f.readline()
line = f.readline().replace("'","")
while line.strip().casefold() != 'end':
symGenerator.append(line.split(','))
line = f.readline()
line = f.readline().replace("'","")
elif ls[0].casefold() == 'generator':
line = f.readline()
while line.strip().casefold() != 'end':