View Issue Details

IDProjectCategoryView StatusLast Update
0003897Slicer4Core: MRMLpublic2018-10-16 23:37
ReportermhalleAssigned Toalexy 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version 
Target VersionFixed in VersionSlicer 4.9.0 
Summary0003897: Slicer 4.4 mangles UnitNodeRef attributes when serializing Selection MRML nodes
Description

I read a MRML file of the SPL atlas written with a 4.3.1 nightly version of Slicer into 4.4 release, and then wrote out the MRML file.

I noticed the following difference in a Selection node's attributes. See that in 4.4, UnitNodeRef is
UnitNodeRef="vtkMRMLUnitNodeApplicationTime vtkMRMLUnitNodeApplicationTime"

4.3 version:
< id="vtkMRMLSelectionNodeSingleton" name="Selection" hideFromEditors="true" selectable="true" selected="false" UnitNodeRef="vtkMRMLUnitNodeApplicationTime" lengthUnitNodeRef="vtkMRMLUnitNodeApplicationLength" timeUnitNodeRef="vtkMRMLUnitNodeApplicationTime" references="unit/:vtkMRMLUnitNodeApplicationTime;unit/length:vtkMRMLUnitNodeApplicationLength;unit/time:vtkMRMLUnitNodeApplicationTime;" activeVolumeID="vtkMRMLScalarVolumeNode2" secondaryVolumeID="vtkMRMLScalarVolumeNode2" activeLabelVolumeID="vtkMRMLScalarVolumeNode5" activeFiducialListID="NULL" activePlaceNodeID="NULL" activePlaceNodeClassName="NULL" activeROIListID="NULL" activeCameraID="NULL" activeViewID="NULL" activeLayoutID="NULL" ></Selection>

4.4 version:

id="vtkMRMLSelectionNodeSingleton" name="Selection" hideFromEditors="true" selectable="true" selected="false" UnitNodeRef="vtkMRMLUnitNodeApplicationTime vtkMRMLUnitNodeApplicationTime" lengthUnitNodeRef="vtkMRMLUnitNodeApplicationLength" timeUnitNodeRef="vtkMRMLUnitNodeApplicationTime vtkMRMLUnitNodeApplicationTime" references="unit/:vtkMRMLUnitNodeApplicationTime vtkMRMLUnitNodeApplicationTime;unit/length:vtkMRMLUnitNodeApplicationLength;unit/time:vtkMRMLUnitNodeApplicationTime vtkMRMLUnitNodeApplicationTime;" activeVolumeID="vtkMRMLScalarVolumeNode2" secondaryVolumeID="vtkMRMLScalarVolumeNode2" activeLabelVolumeID="vtkMRMLScalarVolumeNode5" activeFiducialListID="NULL" activePlaceNodeID="NULL" activePlaceNodeClassName="NULL" activeROIListID="NULL" activeCameraID="NULL" activeViewID="NULL" activeLayoutID="NULL" ></Selection>

As an aside, why is "UnitNodeRef" lead-capitalized?

TagsNo tags attached.

Activities

jcfr

jcfr

2018-10-16 23:36

administrator   ~0016163

Last edited: 2018-10-16 23:37

View 2 revisions

Closing. The content of the scene for recent version of Slicer (as of r27498) is now valid

<Selection
  id="vtkMRMLSelectionNodeSingleton" 
  name="Selection" hideFromEditors="true" selectable="true" selected="false" singletonTag="Singleton" 
  frequencyUnitNodeRef="vtkMRMLUnitNodeApplicationFrequency"
  intensityUnitNodeRef="vtkMRMLUnitNodeApplicationIntensity"
  lengthUnitNodeRef="vtkMRMLUnitNodeApplicationLength"
  timeUnitNodeRef="vtkMRMLUnitNodeApplicationTime"
  velocityUnitNodeRef="vtkMRMLUnitNodeApplicationVelocity"
  references="unit/frequency:vtkMRMLUnitNodeApplicationFrequency;unit/intensity:vtkMRMLUnitNodeApplicationIntensity;unit/length:vtkMRMLUnitNodeApplicationLength;unit/time:vtkMRMLUnitNodeApplicationTime;unit/velocity:vtkMRMLUnitNodeApplicationVelocity;" 
 activeVolumeID="vtkMRMLScalarVolumeNode1" secondaryVolumeID="NULL" activeLabelVolumeID="NULL" activeFiducialListID="NULL" activePlaceNodeID="vtkMRMLMarkupsFiducialNode1" activePlaceNodeClassName="vtkMRMLMarkupsFiducialNode" activeROIListID="NULL" activeCameraID="NULL" activeTableID="NULL" activeViewID="NULL" activeLayoutID="NULL" activePlotChartID="NULL" ></Selection>

Issue History

Date Modified Username Field Change
2014-11-18 07:57 mhalle New Issue
2014-11-18 07:57 mhalle Status new => assigned
2014-11-18 07:57 mhalle Assigned To => alexy
2018-10-16 23:36 jcfr Status assigned => resolved
2018-10-16 23:36 jcfr Resolution open => no change required
2018-10-16 23:36 jcfr Fixed in Version => Slicer 4.9.0
2018-10-16 23:36 jcfr Note Added: 0016163
2018-10-16 23:37 jcfr Note Edited: 0016163 View Revisions