View Issue Details

IDProjectCategoryView StatusLast Update
0004668Slicer4Module (Any modules)public2018-12-19 18:34
ReportersmrolfeAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindows 10OSOS Version
Product VersionSlicer 4.10.0 
Target VersionFixed in VersionSlicer 4.11.0 
Summary0004668: Sample Data module will not load custom sample data with filetype MRB
Description

When custom data is added to the Sample Data module with filetype MRB it is downloaded from the source but not loaded into Slicer. When the filetype is MRB, the data is not loaded unless the property 'loadFiles' is set to 'True'. The method 'registerCustomSampleDataSource', that adds custom data to the module, does not have access to this property.

Steps To Reproduce

In the Python Interactor window, use the command:

slicer.modules.SampleDataWidget.logic.registerCustomSampleDataSource(sampleName='mCT Mouse', fileNames='mCT_mouse.mrb', uris='http://slicermorph.fhl.washington.edu/mCT_mouse.mrb', loadFileType='SceneFile')

This adds a button labeled 'mCT Mouse' to the Sample Data Module. Clicking this button will download the data from the source, but it will not be loaded into Slicer.

Additional Information

This issue was first reported in this thread:
https://discourse.slicer.org/t/is-datastore-upload-working/5071

TagsNo tags attached.

Activities

smrolfe

smrolfe

2018-12-19 17:23

reporter   ~0016231

A fix for this issue has been submitted as a pull request: https://github.com/Slicer/Slicer/pull/1065

smrolfe

smrolfe

2018-12-19 17:49

reporter   ~0016232

Fix integrated in http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=27666

pieper

pieper

2018-12-19 18:34

administrator   ~0016233

Thanks @smrolfe!

Issue History

Date Modified Username Field Change
2018-12-19 13:26 smrolfe New Issue
2018-12-19 13:26 smrolfe Summary Sample Data module will not load custon sample data with filetype MRB => Sample Data module will not load custom sample data with filetype MRB
2018-12-19 17:23 smrolfe Note Added: 0016231
2018-12-19 17:49 smrolfe Note Added: 0016232
2018-12-19 18:34 pieper Status new => resolved
2018-12-19 18:34 pieper Resolution open => fixed
2018-12-19 18:34 pieper Fixed in Version => Slicer 4.11.0
2018-12-19 18:34 pieper Note Added: 0016233