isis-group / isis

The ISIS project aims to provide a framework to access a large variety of image processing libraries written in different programming languages and environments.
GNU General Public License v3.0
17 stars 14 forks source link

dicom plugin crashes for list of file names #32

Closed lydiatgit closed 12 years ago

lydiatgit commented 12 years ago

try to convert files from dcm to nifti with isisconv:

isisconv -dCore info -in DICOM/00000* -rf ima -out somename.nii

Okay, the error is to use the filenames with * but the result of this is following:

terminate called throwing an exceptionAbort trap: 6

That's nasty - plugin should deal with this!

DerOrfa commented 12 years ago

It's actually not a problem with the plugin, but with IOApplication.

"-in" is of type std::string and thus not made to handle parameter lists. Which leads to a completely useless input-"filename".

df0f1a88ca9485d7a592c785023de0b6f53012e2 makes "-in" of type util::slist, and thus handles input lists correctly ..