Import 2017-06-07 23:51:09: master 48a19e80
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
jcfr | jcfr | master | 2015-10-29 03:09:23 | master 23851258 |
Changeset | BUG: Fix support for missing labels in vtkMRMLDoubleArrayStorage reader The reader in vtkMRMLDoubleArrayStorage was always setting the The correction this commit offers is to write the line '# nolabels' Examples : Here are four examples with (u,v,w) as labels, (12.1,425.577,-454) (1) New writer: vtkMRMLDoubleArrayNode with labels measurement file filename.mcsvu,v,w (2) New writer: vtkMRMLDoubleArrayNode with no labels set measurement file filename.mcsvnolabels12.1,425.577,-454 (3) Old writer: vtkMRMLDoubleArrayNode with labels measurement file filename.mcsvcolumns = x,y,yerru,v,w (4) Old writer: vtkMRMLDoubleArrayNode with no labels set measurement file filename.mcsvcolumns = x,y,yerr12.1,425.577,-454 Observations : The line '# columns = x,y,yerr' was hardcoded [1] in the former [1] https://github.com/Slicer/Slicer/blob/6e63b4bf5dbc65a9973160de7397dfc47882e038/Libs/MRML/Core/vtkMRMLDoubleArrayStorageNode.cxx#L244 From: Alexis Girault <alexis.girault@kitware.com> git-svn-id: http://svn.slicer.org/Slicer4/trunk@24675 3bd1e089-480b-0410-8dfb-8563597acbee |
|||
mod - Libs/MRML/Core/vtkMRMLDoubleArrayStorageNode.cxx | Diff File |