datalad / datalad-registry

MIT License
0 stars 2 forks source link

Add bids-validator "extractor" #352

Open yarikoptic opened 3 months ago

yarikoptic commented 3 months ago

After we add fuse support for extracting per file metadata.

Attn @ericearl

candleindark commented 3 months ago

Where can we find this extractor?

yarikoptic commented 3 months ago

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 commented 3 months ago

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 commented 2 months ago

New deno validator has --json option:

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

@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 commented 2 months ago

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

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