Skip to content

FIX: use DatasetType instead of DataType in dataset_description.json - #52

Open
anaharrismatnez wants to merge 4 commits into
bids-apps:developfrom
anaharrismatnez:fix_dataset_description_cli
Open

FIX: use DatasetType instead of DataType in dataset_description.json#52
anaharrismatnez wants to merge 4 commits into
bids-apps:developfrom
anaharrismatnez:fix_dataset_description_cli

Conversation

@anaharrismatnez

Copy link
Copy Markdown

This PR fixes the lookup of the dataset type in CLI.py.

The current implementation searches for the DataType field in dataset_description.json. However, according to the BIDS specification, the correct field name is DatasetType.

@demiregeortac666
demiregeortac666 changed the base branch from master to develop August 10, 2026 14:40

@demiregeortac666 demiregeortac666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution, and welcome! DatasetType is the right key, utils/bids.py already writes it, so this closes the gap where rsHRF rejected its own output.

I have retargeted this to develop branch (that is where fixes land before a release). The six BIDS failures are from test_cli.py still writing DataType in its fixtures; Could you update those here? A NEWS.md entry summarizing your changes under the Unreleased section would be great too, and then this is perfectly fine to go.

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

Successfully merging this pull request may close these issues.

3 participants