Skip to content

[tags inheritance] Improvement of tags inheritance in mia_processes library #7

@servoz

Description

@servoz

A particular effort was made for the tags inheritance, during the creation of a new data when a brick is launched

This inheritance is done thanks to the self.inheritance_dict attribute, which is updated during the initialisation of the brick (in the list_outputs() method of the class corresponding to the brick).

At the moment this inheritance is silly !!!

For example, if we resample an image, the image at the output of the resample brick will have all the tags, and especially without changing them, of the input image. In this example the "Data dimensions" tag would have to be adapted.

It is not done yet.

It should be done quickly enough for the mia_processes library (especially when this library will start to be used ... but when :-).

On the other hand, since we have no control over the nipype library (or we should overload it, which doesn't make sense), the tag inheritance with the nipype library might well remain silly ... (I don't see how we can do this without overloading the nipype classes ... or we should start collaborating with them in this sense ... but as always to collaborate, we need common interests ...).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions