bids-examples icon indicating copy to clipboard operation
bids-examples copied to clipboard

[ENH] Add example dataset for MRI chunk entity

Open valosekj opened this issue 1 year ago • 7 comments

This PR adds an example dataset for the MRI chunk entity.

The "chunk" entity is added to the MRI datatype in https://github.com/bids-standard/bids-specification/pull/1586.

Note that I intentionally did not truncate the data to preserve its nifti header with qforms for different chunks (FOVs). Instead, I created empty masks of the original images --> images are empty, but the nifti header has been preserved.

valosekj avatar Aug 29 '23 17:08 valosekj

Please truncate the NIfTI files to headers.

zcat img.nii.gz | head -c 352 | gzip - | sponge img.nii.gz

effigies avatar Aug 29 '23 17:08 effigies

Please truncate the NIfTI files to headers.

zcat img.nii.gz | head -c 352 | gzip - | sponge img.nii.gz

Thanks! Done in https://github.com/bids-standard/bids-examples/pull/405/commits/6a84c8f50d30bfd997095859d852f3c305972707

valosekj avatar Aug 29 '23 18:08 valosekj

Could you update the dataset listing?

https://github.com/bids-standard/bids-examples/blob/master/CONTRIBUTING.md#how-to-generate-the-tables-in-the-readme

It is in the root of the repo: https://github.com/bids-standard/bids-examples/blob/master/dataset_listing.tsv

Ideally it should link to where the "real" data is: may be quite useful in this case

Remi-Gau avatar Aug 29 '23 18:08 Remi-Gau

Could you update the dataset listing?

https://github.com/bids-standard/bids-examples/blob/master/CONTRIBUTING.md#how-to-generate-the-tables-in-the-readme

It is in the root of the repo: https://github.com/bids-standard/bids-examples/blob/master/dataset_listing.tsv

Done in https://github.com/bids-standard/bids-examples/pull/405/commits/ec44bc3a6c182b26f92b601fe133e89ca1a44d40.

Ideally it should link to where the "real" data is: may be quite useful in this case

Unfortunately, the dataset is not publicly available. And I am not aware of any public MRI dataset with "chunks".

valosekj avatar Aug 29 '23 18:08 valosekj

Unfortunately, the dataset is not publicly available. And I am not aware of any public MRI dataset with "chunks".

OK let's keep like that for now but it would be good in the future to be able to point to a real one.

Remi-Gau avatar Aug 29 '23 19:08 Remi-Gau

Since the corresponding PR has been merged, maybe this PR could be merged as well?

valosekj avatar Nov 21 '23 01:11 valosekj

I think this will have to wait for the BIDS validator to be changed to accept this new entity

Remi-Gau avatar Nov 21 '23 10:11 Remi-Gau