View Issue Details

IDProjectCategoryView StatusLast Update
0003706Slicer4Core: CLI infrastructurepublic2018-03-02 11:07
Reportermccormic Assigned Tojohan.andruejol  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionFixed in VersionSlicer 4.6.2 
Summary0003706: Add Parameter Serializer Support
Description

Build CLI executables with the ability to serialize / deserialize their parameters to a JSON file.

Development branch:

https://github.com/thewtex/Slicer/compare/parameter-serializer

Description:

https://github.com/Slicer/SlicerExecutionModel/pull/20

TagsNo tags attached.

Activities

jcfr

jcfr

2016-11-12 04:14

administrator   ~0014252

Fixed in r25340

See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25340

ENH: Turn ON Slicer_BUILD_PARAMETERSERIALIZER_SUPPORT by default

The parameter serializer support allows CLI to serialize/deserialize their
input from and to JSON file. For example, with the GaussianBlurImageFilter
one could do the following:

Serialize, i.e. save the parameters to JSON:

./Slicer --lauunch GaussianBlurImageFilter MRHead.nrrd BlurredHead.nrrd
--serialize GaussianBlurParameters.json

Deserialize, i.e. load the parameters from JSON :

./Slicer --launch GaussianBlurImageFilter
--deserialize GaussianBlurParameters.json

This follows the changes made in r25335, r25336 and r25337.

Issue History

Date Modified Username Field Change
2014-05-22 17:27 mccormic New Issue
2014-05-22 17:27 mccormic Status new => assigned
2014-05-22 17:27 mccormic Assigned To => millerjv
2014-05-22 17:27 mccormic Assigned To millerjv => mccormic
2016-11-12 04:14 jcfr Note Added: 0014252
2016-11-12 04:14 jcfr Status assigned => resolved
2016-11-12 04:14 jcfr Fixed in Version => Slicer 4.6.2
2016-11-12 04:14 jcfr Resolution open => fixed
2016-11-12 04:14 jcfr Assigned To mccormic => johan.andruejol
2018-03-02 11:07 jcfr Status resolved => closed