View Issue Details

IDProjectCategoryView StatusLast Update
0002410Slicer4Core: Base Codepublic2014-03-06 05:06
Reportermillerjv Assigned Tofinetjul  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.2.0Fixed in VersionSlicer 4.2.0 
Summary0002410: "Add Data" cannot read DoubleArrayNode CSV files
Description

Selecting the name of a CSV file that represents a DoubleArrayNode from the Add Data dialog does not load the DoubleArray. The dialog tries to load the CSV file as an image.

TagsNo tags attached.

Activities

finetjul

finetjul

2012-08-20 09:58

administrator   ~0005598

Granted that there is no doc on how supporting new data types. Nonetheless I have some questions:
In what module are double array nodes supported ?
Is there a qSlicerIO for DoubleArrayNodes ?
Is there a MRML logic that reads that kind of files ?
I can't find any csv file in Slicer. No unit test ?

millerjv

millerjv

2012-08-20 10:10

developer   ~0005605

DoubleArray nodes are used by the Charting. But my current interest is to be able to load DoubleArray nodes representing canonical arterial input functions for the PkModeling extension being developed.

All the IO for DoubleArrayNodes is at the MRML level.

There is no qSlicerIO for DoubleArrayNodes. While a DoubleArrayFile enum is present in qSlicerIO, a qSlicerIO for DoubleArrayNodes was not written at the time qSlicerIO was introduced.

There is no MRML logic for these files.

There is a MRMLDoubleArrayNode and a corresponding MRMLDoubleArrayStorageNode.

finetjul

finetjul

2012-08-20 11:11

administrator   ~0005617

Can you please include in this issue an example file ?

2012-08-20 13:02

 

smalltest.csv (730 bytes)
millerjv

millerjv

2012-08-20 13:03

developer   ~0005636

smalltest.csv attached above is piece of a csv file produced by the MRML storage node and can be read by the MRML storage node.

finetjul

finetjul

2012-08-20 15:12

administrator   ~0005641

Last edited: 2012-08-21 07:49

Fixed in r20804
For information some documentation has been written to help the developers adding new file format supports:
http://www.slicer.org/slicerWiki/index.php/Documentation/4.1/Developers/IO

jcfr

jcfr

2014-03-06 05:05

administrator   ~0010938

Closing resolved issues that have not been updated in more than 3 months

Issue History

Date Modified Username Field Change
2012-08-20 09:30 millerjv New Issue
2012-08-20 09:30 millerjv Status new => assigned
2012-08-20 09:30 millerjv Assigned To => pieper
2012-08-20 09:49 pieper Assigned To pieper => finetjul
2012-08-20 09:58 finetjul Note Added: 0005598
2012-08-20 09:58 finetjul Status assigned => feedback
2012-08-20 10:10 millerjv Note Added: 0005605
2012-08-20 11:11 finetjul Note Added: 0005617
2012-08-20 13:02 millerjv File Added: smalltest.csv
2012-08-20 13:03 millerjv Note Added: 0005636
2012-08-20 15:12 finetjul Note Added: 0005641
2012-08-20 15:12 finetjul Status feedback => resolved
2012-08-20 15:12 finetjul Fixed in Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012
2012-08-20 15:12 finetjul Resolution open => fixed
2012-08-21 07:49 finetjul Note Edited: 0005641
2012-08-21 11:35 jcfr Target Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012
2014-03-06 05:05 jcfr Note Added: 0010938
2014-03-06 05:06 jcfr Status resolved => closed