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

68 bug no cost output in app #69

Merged
merged 3 commits into from
Nov 8, 2023
Merged

Conversation

markushal
Copy link
Collaborator

@markushal markushal commented Nov 8, 2023

Hi guys, the reason why there was not costs data displayed in the app #68 was that the removal of subregions failed, because it tested for empty subregion codes in ``api.get_dimension("region"), and these changed from being NaN to now being empty strings.

I adjusted the check in remove_subregions, and the app is working fine now, but I wonder if this is how we want to keep it?

I also added a unit test for the function, and i created a new python file for tests of the ptxboa_functions module. Is this the correct way of doing it?

@markushal markushal marked this pull request as ready for review November 8, 2023 08:53
@markushal markushal requested a review from joAschauer November 8, 2023 08:53
app/ptxboa_functions.py Show resolved Hide resolved
tests/test_ptxboa_functions.py Outdated Show resolved Hide resolved
@markushal markushal merged commit 60a221c into develop Nov 8, 2023
2 checks passed
@markushal markushal deleted the 68-bug-no-cost-output-in-app branch November 8, 2023 10:50
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

Successfully merging this pull request may close these issues.

2 participants