brainvisa / use-cases

Use cases for future BrainVISA API
0 stars 0 forks source link

Use case: Define and use a Morphologist-like pipeline #16

Open sapetnioc opened 2 years ago

sapetnioc commented 2 years ago

This use case contains a full pipeline definition composed of fake processes combined using most important Morphologist pipeline construction features:

sapetnioc commented 2 years ago

I have a question regarding BIDS organization of derivative. In BIDS, data produced by a pipeline is located in a single directory containing the pipeline name. In this use case, there will be a SPM normalization pipeline that may be reused by Morphologist. If used alone, the SPM normalization result would go in a spm_normalization directory. But if this normalization is used from Morphologist, should the result go in the spm_normalization directory or in the morphologist directory ?

I have the feeling that results should always go in a directory named after the main pipeline. In this case this is morhpologist. But it will make things more difficult to find and reuse this normalization in another pipeline.

sapetnioc commented 2 years ago

The development of TinyMorphologist pipeline is tightly linked to the development of Capsul's new API. Would it be a problem if I move the correponding code in the tests modules of the Capsul project ?

sapetnioc commented 2 years ago

There is no subpipeline in TinyMorphologist now. I think it is an important feature of Capsul that must work quickly in the new API and be tested. I propose to find a way to include subpipelines in TinyMorphologist.