Open adelavega opened 1 year ago
hey, ho. Thanks for suggesting this @adelavega. I'd be up for trying it again! We made some very limited progress last year on it here https://github.com/neurobagel/browbids. I'd be especially interested in the BidsLayout part of it to extract metadata.
cool, let's look into it.
this does sort of depend on the ancpbids backend otherwise pybids has too many dependencies / too slow, i would think
yes, exactly. sqlite would not work with pyodide (and maybe other dependencies too), so ancpbids is what you'd need to run it. I also think one tricky bit is going to get access to the files in the browser filesystem, so you can go and look inside of them.
the idea of running pybids in the browser using things like pyodide has been tried before, but with the soon adoption of ancpbids backend, it may actually be possible.
it would be particularly interesting to allow running reports on datasets, and stats models, to facilitate their development.
if this succeeds, this would be a first step towards revamping neuroscout / bids stats model specification UX to work on local datasets, without any tool installation.