Skip to content

Invalid streamlines when transforming tractogram #174

@levje

Description

@levje

System (complete the following information, else the issue will be closed):

Describe the bug
Maybe this is due to my limited knowledge on the matter, but in the REGISTRATION_TRACTOGRAM module, we run scil_tractogram_apply_transform.py. Let's say that my output tractogram contains invalid streamlines. From the current implementation of the module, I can only use --cut_invalid.

Image

However, if I don't want to cut the invalid streamlines in scil_tractogram_apply_transform.py, the module fails. Wouldn't it be more complete to allow for --keep_invalid and/or --remove_invalid to be configured?

Also, why is scil_tractogram_remove_invalid.py used right after if we're already taking care of the invalid streamlines in scil_tractogram_apply_transform.py?

Screenshots
Error I get:

Image Image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions