Posted
almost 10 years
ago
by
naucoin
BUG: reduce message noise
When adding a storable node to the scene after a scene view has
been added, make sure that only nodes that are saved with the
scene generate the warning.
Cleaned up debugging messages by changing warning to debug macros.
Issue #3956
|
Posted
almost 10 years
ago
by
naucoin
BUG: double check for dot preceding file suffixes
GUI testing showed that renaming a node could lead to a file name of label..nrrd,
this fix only adds the leading dot if the complete Slicer writable suffix call
doesn't start with it.
Issue# 3956
|
Posted
almost 10 years
ago
by
naucoin
COMP: fix test name for label
Configuration was failing with the previous name for the new scripted self test.
Issue #3956
|
Posted
almost 10 years
ago
by
naucoin
ENH: test adding storable data after a scene view is created
Add a fiducial, store a scene view, add a volume, restore the scene view.
To conform with the current implmentation, the new storable node
should not be present after the scene view is
|
Posted
almost 10 years
ago
by
naucoin
ENH: factor out adding data io to the scene
Encapsulated setting up the remote IO logic and the data manager IO
in the application so that it can work as an example template.
Moved the hooking up of the data logic to the scene to the application
|
Posted
almost 10 years
ago
by
naucoin
BUG: add support for remote IO
The crop volume module self test uses remote data, it was failing
with the mini scene in volumes logic until all the pieces were added
in to support remote IO.
TBD: update the infrastructure to make this more modular, test
without batch processing flags.
Issue #3956
|
Posted
almost 10 years
ago
by
naucoin
BUG: use a mini scene for volume loading
The volumes logic was adding in multiple volume,
display, storage nodes as it tries to load a file. This
generated lots of node added/removed events so it was placed
inside of a batch processing state for the
|
Posted
almost 10 years
ago
by
naucoin
BUG: warn the user when they add storable data after scene views
When a storable node is added to the scene after scene views,
warn the user that restoring a scene view will lose the newly
added data.
To avoid too many pop ups, don't warn during batch processing.
Issue #3956
|
Posted
almost 10 years
ago
by
naucoin
BUG: function name clarification, add getting readable extensions
Thanks to comments from JC:
Renamed completeSlicerSuffix to ompleteSlicerWritableFileNameSuffix
in order to make it explicit that this was only checking writable extensions.
Renamed
|
Posted
almost 10 years
ago
by
naucoin
BUG: implement a Slicer specific Qt file suffix
In the MRML storage node it is dealing correctly with tricky
file names like brain.1.nii.gz to return the proper suffix. In
Qt we were relying on completeSuffix but that was returning
everything after
|