Skip to content
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

Support BIDS-URIs #950

Open
2 tasks
effigies opened this issue Feb 23, 2023 · 1 comment
Open
2 tasks

Support BIDS-URIs #950

effigies opened this issue Feb 23, 2023 · 1 comment

Comments

@effigies
Copy link
Collaborator

In an effort to unify the disparate ways of encoding within-dataset paths and remove ambiguity, BIDS-URIs were introduced. You can now end up with IntendedFor = ['bids::sub-01/func/sub-01_task-rest_bold.nii.gz'] where previously you would have had IntendedFor = ['func/sub-01_task-rest_bold.nii.gz'].

As a roadmap:

  • Handle within-dataset URIs (bids::*) for IntendedFor and any other field where we may support linking files
  • Parse the DatasetLinks field from dataset description; if x exists in DatasetLinks and is in a loaded dataset (e.g., a derivative), then bids:x:* URIs should resolve to existing files.
@Remi-Gau
Copy link
Contributor

Remi-Gau commented Sep 6, 2023

tempted to start trying implementing this

just to check: URI resolution should be done when the layout is created and not when it is queried, right? (if my question makes sense)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants