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

ds003059-mriqc: "bids.exceptions.BIDSDerivativesValidationError: Every valid BIDS-derivatives dataset must have a GeneratedBy.Name field set inside 'dataset_description.json'." #73

Open
jbwexler opened this issue Jun 21, 2023 · 0 comments

Comments

@jbwexler
Copy link
Collaborator

All subjects failed with the following error. None of them started and the job ended after 1 minute. This was a brand new empty derivatives directory (just code/, README.md and sourcedata/) so I'm not sure why it's expecting a dataset_description.json.

Traceback (most recent call last):
File "/opt/conda/bin/mriqc", line 8, in
sys.exit(main())
File "/opt/conda/lib/python3.9/site-packages/mriqc/cli/run.py", line 40, in main
parse_args()
File "/opt/conda/lib/python3.9/site-packages/mriqc/cli/parser.py", line 456, in parse_args
config.from_dict(vars(opts))
File "/opt/conda/lib/python3.9/site-packages/mriqc/config.py", line 609, in from_dict
execution.load(settings)
File "/opt/conda/lib/python3.9/site-packages/mriqc/config.py", line 234, in load
cls.init()
File "/opt/conda/lib/python3.9/site-packages/mriqc/config.py", line 484, in init
cls._layout = BIDSLayout(
File "/opt/conda/lib/python3.9/site-packages/bids/layout/layout.py", line 144, in init
raise err
File "/opt/conda/lib/python3.9/site-packages/bids/layout/layout.py", line 141, in init
self.source_pipeline = validate_derivative_path(root)
File "/opt/conda/lib/python3.9/site-packages/bids/layout/validation.py", line 130, in validate_derivative_path
raise BIDSDerivativesValidationError(
bids.exceptions.BIDSDerivativesValidationError: Every valid BIDS-derivatives dataset must have a GeneratedBy.Name field set inside 'dataset_description.json'.
Example: {'GeneratedBy': [{'Name': 'Example pipeline'}]}

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

1 participant