Swarm-CG
Swarm-CG copied to clipboard
"CG ITP file constraints have been grouped, but constraints group 1 holds lines that have different parameters"
Hi,
When 'constraints' are present in the topology, the programme gives an error. I think there is a line of code missing in the 'read.py' file, after line 281. I think the missing line is:
cg_itp["constraint"][nb_constraints]["value_user"].append(float(sp_itp_line[3]))
Thank you
I have also ran into this issue. There doesn't seem to be a line that writes to value_user for the constraints. It therefore has a length of 0 and the check for length 1 fails.