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

Add bids-validator "extractor" #352

Open
yarikoptic opened this issue Apr 11, 2024 · 6 comments
Open

Add bids-validator "extractor" #352

yarikoptic opened this issue Apr 11, 2024 · 6 comments

Comments

@yarikoptic
Copy link
Member

After we add fuse support for extracting per file metadata.

Attn @ericearl

@candleindark
Copy link
Collaborator

Where can we find this extractor?

@yarikoptic
Copy link
Member Author

there is none yet. There is https://github.com/bids-standard/bids-validator . I think it can (or can be made to) produce JSON output and may be even with some well defined (in jsonschema or linkml) schema. Then we could just do minimal wrapping as "datalad-metalad extractor".

@yarikoptic
Copy link
Member Author

note: this is nothing to immediately do - just an idea we ran by at breakfast with @ericearl since they also do that already, and I thought that datalad-registry would be great platform to formalize/automate it longer term.

@yarikoptic
Copy link
Member Author

New deno validator has --json option:

❯ ./bids-validator-deno 2>&1 | grep json
  --json                        - Output machine readable JSON  

@ericearl
Copy link

@yarikoptic The old ("legacy") validator has the --json option as well. I will try to push a release of the stuff we talked about before to GitHub in the next two weeks. Adding it to my to-dos now.

@ericearl
Copy link

@yarikoptic Uploaded! (complete with example files and parquet table)

https://github.com/nimh-dsst/bids-validator-comparator

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

3 participants