Skip to content

Misleading warning for reference #1218

@EmmaRenauld

Description

@EmmaRenauld

We now have this thing in load_tractogram_with_reference if a .trk is loaded with a reference.

Image

That's important is some case and very misleading in others.

Ex: Do pytest --no-cov -rP src/scilpy/cli/tests/test_bundle_filter_by_occurrence.py. The output is:

Image

But no reference was passed. But default, the script uses a reference to loop on files. This is annoying in scripts that loop on many files and use the reference even if the file is a .trk.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions