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

BatchBrainMRTumorSegmentation #2008

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

saimasafdar2021
Copy link

@saimasafdar2021 saimasafdar2021 commented Feb 13, 2024

does tumor segmentation for a batch using T1, T1c, flair and T2 images. It uses the brats toolkit to perform segmentation. Its a wrapper for brats toolkit for performing batch processing.

New extension

  • Extension has a reasonable name (not too general, not too narrow, suggests what the extension is for)
  • Repository name is Slicer+ExtensionName
  • Repository is associated with 3d-slicer-extension GitHub topic so that it is listed here. To edit topics, click the settings icon in the right side of "About" section header and enter 3d-slicer-extension in "Topics" and click "Save changes". To learn more about topics, read https://help.github.com/en/articles/about-topics
  • Extension description summarizes in 1-2 sentences what the extension is usable (should be understandable for non-experts)
  • Any known related patents must be mentioned in the extension description.
  • LICENSE.txt is present in the repository root. MIT (https://choosealicense.com/licenses/mit/) or Apache (https://choosealicense.com/licenses/apache-2.0/) license is recommended. If source code license is more restrictive for users than MIT, BSD, Apache, or 3D Slicer license then the name of the used license must be mentioned in the extension description.
  • Extension URL and revision (scmurl, scmrevision) is correct, consider using a branch name (main, release, ...) instead of a specific git hash to avoid re-submitting pull request whenever the extension is updated
  • Extension icon URL is correct (do not use the icon's webpage but the raw data download URL that you get from the download button - it should look something like this: https://raw.githubusercontent.com/user/repo/main/SomeIcon.png)
  • Screenshot URLs (screenshoturls) are correct, contains at least one
  • Homepage URL points to valid webpage containing the following:
    • Extension name
    • Short description: 1-2 sentences, which summarizes what the extension is usable for
    • At least one nice, informative image, that illustrates what the extension can do. It may be a screenshot.
    • Description of contained modules: at one sentence for each module
    • Tutorial: step-by-step description of at least the most typical use case, include a few screenshots, provide download links to sample input data set
    • Publication: link to publication and/or to PubMed reference (if available)
    • License: We suggest you use a permissive license that includes patent and contribution clauses. This will help protect developers and ensure the code remains freely available. We suggest you use the Slicer License or the Apache 2.0. Always mention in your README file the license you have chosen. If you choose a different license, explain why to the extension maintainers. Depending on the license we may not be able to host your work. Read here to learn more about licenses.
    • Content of submitted s4ext file is consistent with the top-level CMakeLists.txt file in the repository (description, URLs, dependencies, etc. are the same)
  • Hide unused features in the repository to reduce noise/irrelevant information:
    • Click Settings and in repository settings uncheck Wiki, Projects, and Discussions (if they are currently not used)
    • Click the settings icon next to About in the top-right corner of the repository main page and uncheck Releases and Packages (if they are currently not used)

does tumor segmentation for a batch using T1, T1c, flair and T2 images. It uses the brats toolkit to perform segmentation. Its a wrapper for brats toolkit for performing batch processing.
@saimasafdar2021
Copy link
Author

Hi,
Is there anything on my side to do for publishing it with 3D Slicer. When I can see it in the slicer extension wizard? I have written a publication regarding this extension which requires it to be published first. We are sending the Publication to SoftwareX journal. Could you please send update on this publishing of this extension.

Thank you

regards,
Saima

@pieper
Copy link
Member

pieper commented Feb 23, 2024

I didn't try the code, but a few small notes from a quick look:

  • You say brats needs to be installed in a different python but you don't give any details about it. This isn't a common way to distribute software for slicer so some information for users would help. Does that other tool require a GPU? Does it work on all platforms? You need to provide links to the required software.
  • You have some extra python files in the same directory with you scripted module source code. Those will probably be loaded to test for modules and generate warnings. It's not clear from a quick look what those do so they should be removed or moved.
  • There is a pycache folder in your repo that should probably not be in git.

@saimasafdar2021
Copy link
Author

Hi,
I have made the changes required.
I have added the link to install the brats-toolkit and other installations suchas nvidia.
I have removed the folder pycache
I have made the scripted files to another folder. These files are required by the program from within the module.

regards,
Saima

@pieper
Copy link
Member

pieper commented Mar 2, 2024

Does anyone else want to have a look at this before merging? @lassoan @jcfr ?

@saimasafdar2021
Copy link
Author

Please recommend any changes if required.

many thanks.

regards,
Saima

@saimasafdar2021
Copy link
Author

Hi,
I am writing to know the status of this extension. Please let me know if I need to change anything to get it published.

regards,
Saima

@lassoan
Copy link
Contributor

lassoan commented Apr 12, 2024

Sorry for the delayed feeback.

The extension cannot be built or packaged, because it does not follow the extension template. The most important thing is that the top-level CMakeLists.txt file is missing!!

You can use the Extension Wizard module in Slicer to create a valid extension template and add those files to your repository.

Also note that the .s4ext file is corrupted (contributors field is missing, field name of description field is missing, there may be other issues as well). I would recommend to build 3D Slicer and then build your extension to test that it can be built and packaged successfully and then you also get an .s4ext file in your build tree that you can use in this pull request (just modify scmrevision to main). If you are unable to build Slicer then you must really, really carefully copy all the content from any other extension's s4ext file and update it to match the contents of the top-level CMakeLists.txt file in your repository.

added contributors field and the description field
@saimasafdar2021
Copy link
Author

Hi Andras,
I have made the changes you suggested. Carefully copied the .s4ext file and checked all required fields. I have created the cmakeList.txt file and is consistent with the contents in the .s4ext file.

Please let me know if there are any other requirements.

thank you so much.

regards,
Saima

@jcfr
Copy link
Member

jcfr commented May 2, 2024

Unable to force push changes onto UWA-Medical-Physics/ExtensionsIndex@main, the updated changes are published here main...jcfr:ExtensionsIndex:UWA-Medical-Physics-main

Consider running the following command to update this pull request:

git clone git@github.com:UWA-Medical-Physics/ExtensionsIndex.git
cd ExtensionsIndex
git checkout main
git remote add jcfr https://github.com/jcfr/ExtensionsIndex.git
git fetch jcfr
git reset --hard jcfr/UWA-Medical-Physics-main
git push origin main --force

@jcfr
Copy link
Member

jcfr commented May 2, 2024

@jcfr jcfr added the Status: Awaiting Response ⏳ Waiting for a response/more information label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting Response ⏳ Waiting for a response/more information
Development

Successfully merging this pull request may close these issues.

None yet

4 participants