How to use the `DatasetLinks` key

26 views
Skip to first unread message

Mark Mikkelsen

unread,
Aug 15, 2024, 3:20:22 PM8/15/24
to bids-discussion
Hi,

In the dataset_description.json file, one is required to use `DatasetLinks` if BIDS URI are used (which I have in my dataset). However, I'm a bit unclear what to enter in the field. I'm I supposed to link every single data file that has BIDS URI?


Mark

yarikoptic

unread,
Aug 15, 2024, 4:07:28 PM8/15/24
to bids-discussion
which BIDS URIs you have? (give examples)

Chris Markiewicz

unread,
Aug 15, 2024, 4:10:00 PM8/15/24
to bids-di...@googlegroups.com
Hi Mark,

The idea of DatasetLinks is that if you use, e.g.
`bids:MySourceDataset:path/to/reference/file`, then DatasetLinks
should have an entry `MySourceDataset` that points to the dataset
containing that file. If you just use `bids::` to refer to local
files, it is not needed.

Best,
Chris
> --
> We are all colleagues working together to shape brain imaging for tomorrow, please be respectful, gracious, and patient with your fellow group members.
> ---
> You received this message because you are subscribed to the Google Groups "bids-discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/247ab75b-60f3-46f5-a247-aa18a373d172n%40googlegroups.com.

Mark Mikkelsen

unread,
Aug 15, 2024, 4:17:41 PM8/15/24
to bids-di...@googlegroups.com
Hi Chris,

So I have, as an example, this for a `mrsref`file: "AnatomicalImage": "bids::sub-02/ses-01/anat/sub-02_ses-01_T1w.nii"

Does this mean `DatasetLinks` is not needed in my dataset_description.json file?


Mark

You received this message because you are subscribed to a topic in the Google Groups "bids-discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bids-discussion/gbiUtrjuUoI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bids-discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAJqDEcEsexj4r0e%3DzUq8s%3DVKf9Yv7tcntYFW_MHmh-bNA6NzsQ%40mail.gmail.com.

Chris Markiewicz

unread,
Aug 15, 2024, 5:12:55 PM8/15/24
to bids-di...@googlegroups.com
Correct. We probably want to clarify that in the spec.

Best,
Chris
> To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAADt1a9ufX__EXR9Vco_VyU9yH%3Db6KrnJHf7-KPQbLTMMzysMA%40mail.gmail.com.

Mark Mikkelsen

unread,
Aug 15, 2024, 5:31:25 PM8/15/24
to bids-di...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages