Skip to content

Fix Source.plot_sources_on_sc for non-default sensitivity curves#122

Merged
TomWagg merged 3 commits intoTeamLEGWORK:mainfrom
TomWagg:no_CN
Jun 2, 2025
Merged

Fix Source.plot_sources_on_sc for non-default sensitivity curves#122
TomWagg merged 3 commits intoTeamLEGWORK:mainfrom
TomWagg:no_CN

Conversation

@TomWagg
Copy link
Collaborator

@TomWagg TomWagg commented Jun 2, 2025

Previous versions used the correct sensitivity curve for plotting, however the y-values of sources were incorrectly calculated using the default sensitivity curve (as not all parameters were passed between functions). This fixes those issues.

Thanks to Kierstin Sorensen for pointing out there was an issue with this plotting!

@TomWagg TomWagg requested a review from katiebreivik June 2, 2025 19:18
@TomWagg TomWagg self-assigned this Jun 2, 2025
@TomWagg TomWagg added the bug Something isn't working label Jun 2, 2025
@TomWagg
Copy link
Collaborator Author

TomWagg commented Jun 2, 2025

(Tests actually passed, just looks like I need to fix the coverage, I'll do that separately)

Copy link
Collaborator

@katiebreivik katiebreivik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! and classic struggle on the codecov updates.

@TomWagg TomWagg merged commit c67b896 into TeamLEGWORK:main Jun 2, 2025
1 check failed
@TomWagg TomWagg deleted the no_CN branch June 2, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants