Skip to content

Adding 5 function tests#814

Merged
apivarunas merged 9 commits into
PmagPy:test_explorationfrom
apivarunas:adding-tests
Dec 16, 2025
Merged

Adding 5 function tests#814
apivarunas merged 9 commits into
PmagPy:test_explorationfrom
apivarunas:adding-tests

Conversation

@apivarunas

Copy link
Copy Markdown
Collaborator

Adding basic unit test coverage for five ipmag functions:

conglomerate_test_Watson
simul_correlation_prob
rand_correlation_prob
MADcrit
MADcrit_95_filter

Swanson-Hysell and others added 9 commits November 6, 2025 14:16
* develop some more tests

* update plot_map to return axes

* implement axes fix to show two continents

* new tests removed from this plot_map_fix branch

* use elope_path instead of rewriting

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix orthographic typo

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* edits to PR

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: apivarunas <apiv93@gmail.com>
…calculation in find_ei and find_ei_kent (PmagPy#795)

After reviewing this PR and concurring that it fixes the issue, merging.
* slowly fixing errors and warnings

* additional warning fixes

* additional Exception clarity

* clearing bare excepts

* addressing review comments
@apivarunas apivarunas changed the base branch from master to test_exploration December 16, 2025 05:45
@apivarunas apivarunas merged commit deb4181 into PmagPy:test_exploration Dec 16, 2025
2 checks passed
@apivarunas apivarunas deleted the adding-tests branch December 16, 2025 06:08
Swanson-Hysell added a commit that referenced this pull request Feb 28, 2026
* Plot map fix (#810)

* develop some more tests

* update plot_map to return axes

* implement axes fix to show two continents

* new tests removed from this plot_map_fix branch

* use elope_path instead of rewriting

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix orthographic typo

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* edits to PR

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: apivarunas <apiv93@gmail.com>

* change from predetermined index for percentiles to direct percentile calculation in find_ei and find_ei_kent (#795)

After reviewing this PR and concurring that it fixes the issue, merging.

* remove duplication, fix docs, readability (#807)

* simple style fixes via ruff (#812)

* Working through errors / warnings in ipmag (#813)

* slowly fixing errors and warnings

* additional warning fixes

* additional Exception clarity

* clearing bare excepts

* addressing review comments

* adding ipmag tests

* add to same file

* added watson conglomerate tests

* renamed file

---------

Co-authored-by: Nick Swanson-Hysell <nicks-h@umn.edu>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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