-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter target tractograms depending on the provided anatomy file #57
Comments
@fdumais any thought/preference? |
@jhlegarreta Yes, we should filter config and track group from RBx atlas that are not in our config This could be done when loading files based on 1 master config |
Will propose a PR when I find the time. |
A user reported that when using the downloaded RBx atlas and some custom target (test) dataset, the
ae_bundle_streamlines.py
script failed with the following output:The issue stems from the fact that when looping over the atlas path files in the script, there is a
fornix_group.trk
that is being found in the/atlas/pop_average
RBx path, and such tractogram does not correspond to any entry in the JSON anatomy config file (or any other config file provided in zenodo actually). The RBx atlas path contains some "*_group.trk" files that are the concatenation of some other files, and we are not interested in considering those intractolearn
, at least within the context of the provided data in zenodo.Thus, we should
tractolearn
it may not be desirable to force users to remove such files from the path.The text was updated successfully, but these errors were encountered: