-
Notifications
You must be signed in to change notification settings - Fork 275
Add SliceStat extension #2240
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
base: main
Are you sure you want to change the base?
Add SliceStat extension #2240
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds a new extension called "SliceStat" to the 3D Slicer Extensions Catalog. The extension exports slice numbers for each segment in a segmentation node to a CSV file.
Key Changes:
- New extension metadata file defining SliceStat extension properties
- Extension categorized under "VsData" with basic configuration fields
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| extension_category = VsData | ||
| extension_homepage = https://github.com/sowwnn/Slicer_SliceStat | ||
| extension_scm_url = https://github.com/sowwnn/Slicer_SliceStat.git | ||
| extension_scm = git |
Copilot
AI
Dec 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing the scmrevision field which specifies which branch or commit to use. According to the Tier 1 checklist, it's recommended to use a branch name (like "main" or "release") instead of a specific git hash to avoid re-submitting pull requests whenever the extension is updated.
| extension_scm = git | |
| extension_scm = git | |
| scmrevision = main |
| @@ -0,0 +1,8 @@ | |||
| [extension] | |||
| extension_name = SliceStat | |||
| extension_author = Sowwn (User) | |||
Copilot
AI
Dec 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The author name appears to have a typo. "Sowwn" should likely be "Sown" unless this is intentional.
| extension_author = Sowwn (User) | |
| extension_author = Sown (User) |
| extension_name = SliceStat | ||
| extension_author = Sowwn (User) | ||
| extension_description = This extension exports the slice numbers for each segment in a segmentation node to a CSV file. | ||
| extension_category = VsData |
Copilot
AI
Dec 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The category name "VsData" appears to be a typo or unclear. Standard 3D Slicer extension categories include names like "Informatics", "Registration", "Segmentation", "Quantification", etc. Consider using a more standard category name that better describes the extension's purpose, such as "Informatics" or "Quantification".
| extension_category = VsData | |
| extension_category = Informatics |
| extension_category = VsData | ||
| extension_homepage = https://github.com/sowwnn/Slicer_SliceStat | ||
| extension_scm_url = https://github.com/sowwnn/Slicer_SliceStat.git | ||
| extension_scm = git |
Copilot
AI
Dec 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing the extension_icon_url field which is required according to the Tier 1 checklist ("Extension icon URL is correct"). The extension metadata should include an icon URL pointing to a raw image file (e.g., https://raw.githubusercontent.com/user/repo/main/SomeIcon.png).
| extension_scm = git | |
| extension_scm = git | |
| extension_icon_url = https://raw.githubusercontent.com/sowwnn/Slicer_SliceStat/main/SliceStat.png |
| extension_description = This extension exports the slice numbers for each segment in a segmentation node to a CSV file. | ||
| extension_category = VsData | ||
| extension_homepage = https://github.com/sowwnn/Slicer_SliceStat | ||
| extension_scm_url = https://github.com/sowwnn/Slicer_SliceStat.git |
Copilot
AI
Dec 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing the extension_screenshoturls field which is required according to the Tier 1 checklist ("Screenshot URLs (screenshoturls) are correct, contains at least one"). The extension metadata should include at least one screenshot URL.
| extension_scm_url = https://github.com/sowwnn/Slicer_SliceStat.git | |
| extension_scm_url = https://github.com/sowwnn/Slicer_SliceStat.git | |
| extension_screenshoturls = https://github.com/sowwnn/Slicer_SliceStat/raw/main/docs/screenshot.png |
|
Please use the new json extension description file format. See all the other extension descriptions as examples. |
New extension
Tier 1
Any extension that is listed in the Extensions Catalog must fulfill these requirements.
Slicer(unless it explicitly provides a bridge between Slicer and a tool or library), because it would make it more difficult to find extensions if the name of many started with the same word.3d-slicer-extensionGitHub topic so that it is listed here. To edit topics, click the settings icon in the right side of "About" section header and enter3d-slicer-extensionin "Topics" and click "Save changes". To learn more about topics, read https://help.github.com/en/articles/about-topicsSettingsand in repository settings uncheckWiki,Projects, andDiscussions(if they are currently not used).Aboutin the top-right corner of the repository main page and uncheckReleasesandPackages(if they are currently not used)Tier 3
Community-supported extensions.
Tier 5
Critically important extensions, supported by Slicer core developers. New Slicer Stable Release is released only if all Tier 5 extension packages are successfully created on all supported platforms.