Skip to content

Fixing duplication in continents.py#807

Merged
apivarunas merged 1 commit into
PmagPy:masterfrom
apivarunas:cleaning-duplicated-continents
Nov 10, 2025
Merged

Fixing duplication in continents.py#807
apivarunas merged 1 commit into
PmagPy:masterfrom
apivarunas:cleaning-duplicated-continents

Conversation

@apivarunas

Copy link
Copy Markdown
Collaborator

Removed the double-defined function get_continent and edited docstring to reflect all options. This fixes the internals of the program as regards duplication but does not fully address #806 in terms of the actual latitude/longitude and plotting.

@apivarunas apivarunas requested a review from Copilot November 6, 2025 21:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@apivarunas apivarunas merged commit 59fff88 into PmagPy:master Nov 10, 2025
2 checks passed
apivarunas added a commit that referenced this pull request Dec 16, 2025
* 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>
@apivarunas apivarunas deleted the cleaning-duplicated-continents branch December 16, 2025 05:55
@apivarunas apivarunas mentioned this pull request Dec 25, 2025
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