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

BUG: invalid parameter functions when (incomplete) user input combined with defaults #186

Open
han16nah opened this issue May 5, 2024 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@han16nah
Copy link
Collaborator

han16nah commented May 5, 2024

Description

There are invalid parameter functions when (incomplete) user input is combined with defaults.
Example: User provides only size = "small" for car, see here:

def test_emission_factors_car(emission_factors_test) -> None:

@han16nah han16nah added the bug Something isn't working label May 5, 2024
@redfrexx redfrexx added the prio1 Highest Priority: Do now label Nov 12, 2024
@redfrexx
Copy link
Member

In PR #192 static error messages were added that catch these errors. However, these will have to be changed if the factors in the csv file are changed. So for now it's good. If necessary find a more flexible solution in the future.

@redfrexx redfrexx added wontfix This will not be worked on and removed prio1 Highest Priority: Do now labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants