Page MenuHomePhabricator

define file names for output generated in command line module during run time
Closed, WontfixPublic

Description

Currently an explicit and complete file name (including extension) needs to be given in the command line module to be able to directly load output images to MITK.

It would be great if an output file name could be generated by the external software that is included during run time to allow output in user specified data formats (change of extension).

In addition it would be great to be able to use a given prefix for file names defined in the Command line module generated GUI and use predefined output file names. These file names could for example be defined in the XML file used to generate the GUI.

Event Timeline

Do you mean:

Output file prefix = someDirectory/myOutput
(with no file extension).

Command line program then generates:

someDirectory/myOutput.nii
someDirectory/myOutput.nrrd
someDirectory/myOutputFileA.txt

(etc)

and the CLI plugin then scans the output directory someDirectory/ for any file starting with myOutput, and loads any that it can?

Matt

This would solve case 1.

The second problem is something like:

Output file prefix = someDirectory/pref

Commandline generates:

someDirectory/pref_myOutput1.nii
someDirectory/pref_myOutput2.nii
someDirectory/pref_myOutput3.nii

scanning would the either load all thins starting with "someDirectory/pref" or a configuration mechanism would allow to define what the final names will be, since this is usually predefined in the program that will be run.

Going back to this .... I still can't quite understand your two use-cases. I don't understand your description of option 1. Then I gave a description of what I thought you mean in the second half of your first email. Then you said this would solve case 1... which was a surprise as i didn't understand it!!!

Please can you try again, describing all your use cases with specific examples?

Many thanks

Matt

Hi Matt,

sorry I missed the last line in your example. You are right your example covers the 2nd case.

Sarah

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.