Skip to content

Misleading warning for reference #1218

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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