View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004667 | Slicer4 | Core: Extensions | public | 2018-12-17 14:13 | 2018-12-17 14:13 |
Reporter | dzenanz | Assigned To | jcfr | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Product Version | Slicer 4.10.0 | ||||
Target Version | Fixed in Version | ||||
Summary | 0004667: Extension wizard produces a module which fails the generated test | ||||
Description | The default test's result is saved into .nhdr+.raw pair of file. But .nhdr contains the name of .raw file as CLIModuleTemplateTest.raw. When this file is renamed by the extension wizard (CLP=SegmentVasculature), the test fails: 1: [nrrd] nrrdLoad: trouble reading "C:/Dev/hmc-cerebralaneurysm-Snr/SegmentVasculature/Data/Baseline/SegmentVasculatureTest.nhdr" | ||||
Steps To Reproduce |
| ||||
Additional Information | This is the generated test code in the module. The baseline should not have been renamed. Or better yet, it should have been .nrrd format instead of .nhdr+.raw. ExternalData_add_test(${CLP}Data NAME ${testname} COMMAND ${SEM_LAUNCH_COMMAND} $<TARGET_FILE:${CLP}Test> | ||||
Tags | No tags attached. | ||||