View Issue Details

IDProjectCategoryView StatusLast Update
0001502Slicer4Core: Usabilitypublic2012-12-08 06:59
Reporterhjmjohnson Assigned Tocrmullin  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0001502: Load images from command line no longer works
Description

In Slicer3 you could load data from the command line as follows:

cd /my/special/directory/with/image/files

Slicer3 *.nii.gz

and it would select all those images.

This feature no longer exists.

TagsNo tags attached.

Relationships

has duplicate 0001594 closedcrmullin specifying scene or data to load on the command line 

Activities

crmullin

crmullin

2012-08-27 11:44

developer   ~0005814

If you want to load a volume etc. directly you must create a MRML scene file and provide that as an argument. If you provide the names of individual volumes they will be loaded into the data dialog upon starting Slicer.

crmullin

crmullin

2012-08-29 09:25

developer   ~0005856

Hello reporter! Please explain the functionality you find to be missing or resolve the issue. Thanks so much!

Chris

hjmjohnson

hjmjohnson

2012-08-29 12:11

developer   ~0005858

With slicer3 I could cd into a directory full of nifti image files and type

"Slicer .nii.gz .fcsv"

Then it would load Slicer and all the images that match the ".nii.gz" or .fcsv file patterns.

crmullin

crmullin

2012-08-29 13:44

developer   ~0005862

Until this is implemented, one solution is to create a mrml scene with all of these data, and then load that at the command line.

Since there is a feature freeze on Sept. 1st, I'm not going to target this for 4.2. If you'd like, feel free to implement it yourself. The change would probably need to be added in this section of code:
http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/Base/QTCore/qSlicerCoreApplication.cxx?r1=20575&r2=20699&sortby=log

Also, have a look at the QDir class:
http://qt-project.org/doc/qt-4.8/QDir.html

Thanks. Please update and I'll be glad to help.

hjmjohnson

hjmjohnson

2012-09-13 14:00

developer   ~0006066

I don't know how many images there are to load. I don't have a MRML sceene. I just want to look at the images.

The process of making a MRML sceene is far more work than load ing the data through the GUI, so it does not really help.

crmullin

crmullin

2012-11-30 08:23

developer   ~0007386

Hi reporter,

What OS are you using? This is working for me now on Linux, but I haven't tried it on any other platform.

hjmjohnson

hjmjohnson

2012-12-08 06:59

developer   ~0007467

This behavior seems to have been restored.

Issue History

Date Modified Username Field Change
2011-10-26 13:40 hjmjohnson New Issue
2011-11-20 13:28 finetjul Status new => assigned
2011-11-20 13:28 finetjul Assigned To => jcfr
2011-11-30 11:32 fedorov Relationship added has duplicate 0001594
2012-08-21 19:12 jcfr Assigned To jcfr => crmullin
2012-08-21 19:12 jcfr Target Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012
2012-08-27 11:44 crmullin Note Added: 0005814
2012-08-29 09:25 crmullin Note Added: 0005856
2012-08-29 12:11 hjmjohnson Note Added: 0005858
2012-08-29 13:44 crmullin Note Added: 0005862
2012-09-13 11:27 jcfr Target Version Slicer 4.2.0 - Feature freeze Sept 1st 2012 => Slicer 4.3.0
2012-09-13 14:00 hjmjohnson Note Added: 0006066
2012-11-30 08:23 crmullin Note Added: 0007386
2012-12-08 06:59 hjmjohnson Note Added: 0007467
2012-12-08 06:59 hjmjohnson Status assigned => resolved
2012-12-08 06:59 hjmjohnson Fixed in Version => Slicer 4.3.0
2012-12-08 06:59 hjmjohnson Resolution open => fixed
2012-12-08 06:59 hjmjohnson Status resolved => closed