sct-pipeline / contrast-agnostic-softseg-spinalcord

Contrast-agnostic spinal cord segmentation project with softseg
MIT License
4 stars 3 forks source link

Make CLI callable from anywhere #94

Closed jcohenadad closed 7 months ago

jcohenadad commented 7 months ago

The syntax requires to point to the exact location of the script:

https://github.com/sct-pipeline/contrast-agnostic-softseg-spinalcord/blob/935c78cc59c453b8a854f3230bde93ce3ba554de/monai/README.md?plain=1#L48

This is limiting, for 3rd party applications, where people don't necessarily have the script located in the current directory, leading to hard-code like this one:

image

Making analysis pipeline non-reproducible.

Solution: declare command in the setuptools.