Skip to content

Scripts: Proper behaviour of command_history #1188

@Lestropie

Description

@Lestropie

Relates to #962.

When running a Python script, the header key-value entry command_history will get bloated as every intermediate MRtrix3 command call concatenates to this list. The preferred behaviour would be that command_history for a script output image would only be one line longer than that of the input image, and that line would be the invocation of the script itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions