View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003423 | Slicer4 | Core: Scripting (Wrapping, Python) | public | 2013-09-25 09:36 | 2014-03-06 05:28 |
Reporter | nicole | Assigned To | pieper | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | linux | OS | OS Version | ||
Product Version | Slicer 4.3.0 | ||||
Target Version | Slicer 4.4.0 | Fixed in Version | Slicer 4.3.1 | ||
Summary | 0003423: ModuleWizard not replacing all strings when creating a self test | ||||
Description | Trying to create a self test using the SelfTestModule instructions on the wiki, I have to do a manual rename and text replace in the subdir as the templated files aren't copied/renamed/searched and replaced properly. | ||||
Steps To Reproduce | Starting from here: and got this directory listing:
Instead of the expected NeurosurgeryTutorial subdirectories and file names. | ||||
Additional Information | Digging into the wizard file, it looks like the mismatch between replacement key ScriptedLoadableExtensionTemplate and the subdirectory and files that use ScriptedLoadableModuleTemplate is causing the string replace to fail. | ||||
Tags | No tags attached. | ||||
The updated instructions are here [1]. I believe the solution is that you need to point the module wizard into the module subdirectory of the extension template. If that works can you update the self-test wiki page? |
|
Adding the subdirectory to the extension template worked, and I updated the SelfTestModule wiki page with that change (nightly[1] and 4.3[2]). [1]http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Tutorials/SelfTestModule#Use_the_ModuleWizard |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2013-09-25 09:36 | nicole | New Issue | |
2013-09-25 09:36 | nicole | Status | new => assigned |
2013-09-25 09:36 | nicole | Assigned To | => pieper |
2013-09-26 15:20 | pieper | Note Added: 0010094 | |
2013-09-27 14:09 | nicole | Note Added: 0010102 | |
2013-09-27 14:09 | nicole | Status | assigned => resolved |
2013-09-27 14:09 | nicole | Fixed in Version | => Slicer 4.3.1 |
2013-09-27 14:09 | nicole | Resolution | open => fixed |
2014-03-06 05:24 | jcfr | Note Added: 0011209 | |
2014-03-06 05:28 | jcfr | Status | resolved => closed |