pledge4future / co2calculator

Python package to calculate work related CO2 emissions from heating and electricity consumption as well as business trips and commuting.
https://pledge4future.github.io/co2calculator/
GNU General Public License v3.0
13 stars 7 forks source link

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

Open han16nah opened 6 months ago

han16nah commented 6 months ago

Description

There are invalid parameter functions when (incomplete) user input is combined with defaults. Example: User provides only size = "small" for car, see here: https://github.com/pledge4future/co2calculator/blob/23e0d16b3d652670b8767d40cbcc8dff2eb66556/tests/unit/test_parameters.py#L66