[Ctk-developers] Command Line Modules
Clarkson, Matt
m.clarkson at ucl.ac.uk
Thu Jun 19 18:48:19 UTC 2014
Hey Florian,
yeap … that’s why I ask. Later versions of NiftyReg have now dropped the *.
http://sourceforge.net/p/niftyreg/git/ci/master/tree/reg-apps/reg_aladin.h#l29
i believe this is because CTK .xsd says its without the *.
We don’t mind what it is, we just need to all agree
:-)
M
On 19 Jun 2014, at 18:56, Florian Vichot <florian.vichot at inria.fr<mailto:florian.vichot at inria.fr>> wrote:
Hey all,
I do some post-processing, I strip the '*' from the extension list, but keep the leading dot, as that's the way we format supported extensions in the read/writer plugins in medInria.
Do you have examples in the wild of CLIs that output XML without the asterisk ? All the ones I have here (niftyreg tools, the CTK test binaries) have asterisks in their extension lists.
Florian
________________________________
De: "Sascha Zelzer" <s.zelzer at dkfz-heidelberg.de<mailto:s.zelzer at dkfz-heidelberg.de>>
À: "Matt Clarkson" <m.clarkson at ucl.ac.uk<mailto:m.clarkson at ucl.ac.uk>>, ctk-developers at commontk.org<mailto:ctk-developers at commontk.org>
Envoyé: Mardi 17 Juin 2014 21:50:31
Objet: Re: [Ctk-developers] Command Line Modules
Hi,
I was curiously waiting for a reply myself. My interpretation of the extensions list for files is the same as Matts, but if people use it differently or just "post-process" the file extensions list to fit their expectations, this would be good to know.
Thanks,
Sascha
On 06/13/2014 10:49 AM, Clarkson, Matt wrote:
Hi there,
please can people clarify something. In the Slicer Execution Model wiki page [1], it says that the list of file extensions should be a comma separated list of extensions, which I read to mean “no asterisks”. So, something like “nii,nii.gz,mha” and NOT “*.nii,*.nii.gz,*.mha”. Also, the CTK XSD file seems to agree with that:
Can people please reply to me to confirm if they are in agreement/disagreement.
And even better… please can people test their respective applications, and confirm if this is all working as it should be?
I think people need to be careful to check both input and output. In many cases, the input side may well be masked by the application. For example, if the application loads an image into memory, and an “input” combo box simply lists the images currently available memory, then you wont be able to check whether a file open dialog box is actually doing as it should be.
Thanks
Matt
[1] http://www.slicer.org/slicerWiki/index.php/Slicer3:Execution_Model_Documentation
[2] https://github.com/commontk/CTK/blob/master/Libs/CommandLineModules/Core/Resources/ctkCmdLineModule.xsd#L431
_______________________________________________
Ctk-developers mailing list
Ctk-developers at public.kitware.com<mailto:Ctk-developers at public.kitware.com>
http://public.kitware.com/mailman/listinfo/ctk-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20140619/3ff12527/attachment.htm>
More information about the Ctk-developers
mailing list