Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"CG ITP file constraints have been grouped, but constraints group 1 holds lines that have different parameters" #44

Open
StefanoMuscat opened this issue Jul 12, 2022 · 1 comment

Comments

@StefanoMuscat
Copy link

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

@a-ws-m
Copy link

a-ws-m commented Feb 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants