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

ohbm hackathon idea: pybids (+analysis) in the browser #982

Open
adelavega opened this issue Apr 14, 2023 · 3 comments
Open

ohbm hackathon idea: pybids (+analysis) in the browser #982

adelavega opened this issue Apr 14, 2023 · 3 comments

Comments

@adelavega
Copy link
Collaborator

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.

@surchs
Copy link

surchs commented Apr 14, 2023

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.

@adelavega
Copy link
Collaborator Author

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

@surchs
Copy link

surchs commented Apr 19, 2023

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.

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

2 participants