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

17 error catching when calculating summary statistics #18

Merged

Conversation

bvandekerkhof
Copy link
Collaborator

Description

Bugfix when no sources are present in the z_src array. We now account for that in the code and make sure the code does not brake down the line in the plotting.

Fixes #17

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Jupyter Notebooks

No changes in notebooks.

How Has This Been Tested?

Tested by running the support_functionspost_processing.calculate_rectangular_statistics(<INPUTS>) and plotting.plot.plot_quantification_results_on_map(<INPUTS>) methods on saved files which both do and do not contain values in z_src.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • [N/A] I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@bvandekerkhof bvandekerkhof linked an issue Nov 12, 2024 that may be closed by this pull request
code_reformat and others added 3 commits November 12, 2024 08:11
@bvandekerkhof bvandekerkhof merged commit 121d2cb into main Nov 15, 2024
9 checks passed
@bvandekerkhof bvandekerkhof deleted the 17-error-catching-when-calculating-summary-statistics branch November 15, 2024 09:57
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.

Error catching when calculating summary statistics
2 participants