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 fixes and unit test updates #661

Merged
merged 6 commits into from
Jul 5, 2024
Merged

Conversation

jlmaurer
Copy link
Collaborator

@jlmaurer jlmaurer commented Jul 4, 2024

Fixes some documented bugs and adds unit tests to increase total coverage

Description

Motivation and Context

Fixes #649

How Has This Been Tested?

Unit tests added and all tests pass locally

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • I have added an explanation of what your changes do and why you'd like us to include them.
  • I have written new tests for your core changes, as applicable.
  • I have successfully ran tests with your changes locally.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@jlmaurer jlmaurer marked this pull request as ready for review July 5, 2024 19:31
@jlmaurer jlmaurer requested review from cmarshak and bbuzz31 July 5, 2024 19:31
@@ -1487,7 +1492,7 @@ def fitfunc(t):
phsfit_c[station] = pcov[2, 2]**0.5
# pass RMSE of fit
seasonalfit_rmse[station] = yy - custom_sine_function_base(tt, *popt)
seasonalfit_rmse[station] = (scipy_sum(seasonalfit_rmse[station]**2) /
seasonalfit_rmse[station] = (np.sum(seasonalfit_rmse[station]**2) /
Copy link
Collaborator

@cmarshak cmarshak Jul 5, 2024

Choose a reason for hiding this comment

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

This is all I can review as I don't know what else you made changes to - looks fine.

@jlmaurer jlmaurer merged commit 4c413ad into dbekaert:dev Jul 5, 2024
8 checks passed
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.

[BUG] scipy.sum in RAiDER stats
2 participants