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
Issues to be fixed before submitting the extension #3
Comments
Hi Andras, did you see my question in the thread which you linked above? Thanks. |
I've answered now. |
Hi, I think I finally have got the parameter node to do what I want it to do i.e. when I save and open the scene the FidcualsToModelDistance has all the same settings and inputs as when I saved the scene. I can also make multiple parameter nodes and change their settings and the settings are saved in the parameter node are restored when I select that parameter node again. I found this very complicated and I still don't fully understand how or why it works so there may be some strange/redundant code in there. I borrowed a lot of the parameter node code from VectorToScalarVolume as this had a non-singleton parameter node setup. The updated code is in the parameter node branch |
Thank you. I've sent a pull request (#4) with an overall cleanup and simplification of the module. |
Thanks so much, that looks a lot more clean. Hopefully it didn't take you too long and my coding attempts weren't too much of a hindrance. I was happy to see these lines from ``updateGUIFromParameterNode`
I spent a long time yesterday trying to figure out how to stop the parameters updating again when the ``updateGUIFromParameterNode` changed the nodes in the input selector boxes. I ended up making separate methods for each node which worked but it didn't seem right. What would be the difference between the code above and this:
I was just wondering why you structured it with the wasBlocked variable? Thanks again. |
After we temporarily block signals we must restore the previous blocked/unblocked state. We cannot just simply unblock it. |
Great thanks, I had a play in the python inter-actor and I see how it restores the original state with the true/false outputs. What do I need to do now to submit the extension? |
You just need to update these lines: https://github.com/ReynoldsJ20/SlicerFiducialsToModelDistance/blob/master/CMakeLists.txt#L7-L13 Also update description of the extension (see link above) and module (https://github.com/ReynoldsJ20/SlicerFiducialsToModelDistance/blob/master/FiducialToModelDistance/FiducialToModelDistance.py#L22) to reflect that it can compute error for two sets of fiducials, too (not just between mode and fiducials). |
Ok, I think I have done both those things correctly. |
Icon urls must be the download urls, for example https://raw.githubusercontent.com/ReynoldsJ20/SlicerFiducialsToModelDistance/master/FiducialtoModelDistance.png Nitpick in extension description: results are displayed in two tables (not just "a table") |
Both descriptions updated and icon URL is updated. |
Almost perfect. screenshoturls must be list of URLs to images separated by spaces. Example: set(EXTENSION_SCREENSHOTURLS "http://www.slicer.org/slicerWiki/images/8/87/SlicerRT_0.10_IsocenterShiftingEvaluation.png http://www.slicer.org/slicerWiki/images/e/ef/SlicerRT_0.11_ProstateLoaded_Beams_ThresholdedDose.png http://www.slicer.org/slicerWiki/images/4/40/SlicerRtFundingSources.png") |
Ok, I have put the two download links with spaces in between |
Thank you, I've submitted the extension to the extension index. If everything goes well then it will show up in Slicer's Extension Manager tomorrow. |
Great thanks for the help! |
The module shows up and can be installed form the extension manager but it does not appear in the module list. The problem was that the module name was spelled inconsistently (to/To and Fiducial/Fiducials). I've sent a pull request (#5) that should fix it. Please also add the "3d-slicer-extension" topic to the repository:
|
Thanks for the pull request. I have added the 3d slicer topic as mentioned above. Thanks again, I think I am slowly learning slicer programming with your help. |
Thanks, pull request is merged now |
Fiducials-to-Model-Distance
it has to be something likeSlicerFiducialsToModelDistance
The text was updated successfully, but these errors were encountered: