poldracklab / fitlins

Fit Linear Models to BIDS Datasets
https://fitlins.readthedocs.io
Apache License 2.0
73 stars 30 forks source link

Fetch DataLad datasets #362

Open adelavega opened 2 years ago

adelavega commented 2 years ago

In neuroscout-cli, we fetch datasets using datalad, and then run fitlins on it.

Would it make sense to move that functionality into fitlins itself? I would imagine this could make it much easier for users to use FitLins on remote datasets without first having to muck w/ downloading and setting up the datasets themselves.

effigies commented 2 years ago

What would it look like? As in allow somebody to say fitlins ///openneuro/ds000003 /out participant -d ///openneuro/ds000003-fmriprep ...? Or just run datalad get on files if we detect they're in a datalad dataset? And would that play nicely with being run inside datalad run ...?

adelavega commented 2 years ago

I was thinking the former, but maybe it's putting too much onus on FitLins to do everything. It just seems like a lot of the neuroscout-cli set up work is fairly generic and could be generalized to other datasets available through datalad.