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

add initial sphere script as a cli option #6

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

milesagraham
Copy link
Member

added the initial sphere script (still needs soft edges etc to be added) as a command line option

@milesagraham milesagraham merged commit 6860f90 into main May 17, 2024
6 checks passed
@milesagraham milesagraham deleted the sphere_cli branch May 17, 2024 10:00
@@ -38,6 +38,8 @@ classifiers = [
dependencies = [
"numpy",
"typer",
"einops",
"napari",
Copy link
Member

Choose a reason for hiding this comment

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

napari is a big dependency and only necessary for vis, consider removing (or gating behind a [vis] selector, can provide details)

@@ -1,3 +1,3 @@
import typer

cli = typer.Typer(name="ttmask")
cli = typer.Typer(name="ttmask")
Copy link
Member

Choose a reason for hiding this comment

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

github likes having a newline at the end of files, auto format in pycharm normally does this


typer.main.get_command_name = lambda name: name
Copy link
Member

Choose a reason for hiding this comment

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

this makes sense, do you understand what it's doing? :) can explain if not

as mentioned: would recommend removing and just having life be simple and dictated by the opinionated tool :)

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