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

Double defined parameters #35

Open
A-Sterni opened this issue Jun 27, 2024 · 1 comment
Open

Double defined parameters #35

A-Sterni opened this issue Jun 27, 2024 · 1 comment

Comments

@A-Sterni
Copy link
Contributor

A-Sterni commented Jun 27, 2024

86 parameters are defined twice in the file "default_parameters.json"

For example: ('Large', 'BEV', 'lightweighting', 2000) is defined here:

"355-2000-lightweighting": {

and here:

"1035-2000-lightweighting": {

The double-defined parameters cause the following problem in carculator 1.9.0.dev1 with carculator_utils 1.2.0.dev6:
Error

I have attached a file with all double defined parameters. Do you have a convenient way to remove the double defined parameters or is it necessary to remove them manually.
Double defined paramters.txt

@romainsacchi
Copy link
Owner

romainsacchi/carculator_utils@7449299
provides a temporary fix by removing the ~20 duplicates from the dataframe (it keeps the first occurrence). The reason why those duplicates are there is more complex to solve, which is why I'll leave this issue open.

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