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

use Path types everywhere #30

Merged
merged 5 commits into from
Jun 5, 2024
Merged

use Path types everywhere #30

merged 5 commits into from
Jun 5, 2024

Conversation

alisterburt
Copy link
Member

pathlib.Path is a really useful language construct - here it doesn't change much but in other places it's incredibly useful so I'd recommend using it by default ~everywhere

alisterburt and others added 5 commits June 5, 2024 07:32
* soft edge written as a function (refactored)

* make soft edge function work on copy of the original array and returning and output instead of changing 'in place'
* restructure cli imports

* refactor soft edge generation into a function (#31)

* soft edge written as a function (refactored)

* make soft edge function work on copy of the original array and returning and output instead of changing 'in place'

* restructure cli imports

* remove redundant imports

---------

Co-authored-by: milesagraham <[email protected]>
# Conflicts:
#	src/ttmask/cone.py
#	src/ttmask/ellipsoid.py
#	src/ttmask/sphere.py
@milesagraham milesagraham merged commit 42bf153 into main Jun 5, 2024
6 checks passed
@milesagraham milesagraham deleted the pathlib branch June 5, 2024 15:11
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