-
Notifications
You must be signed in to change notification settings - Fork 54
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
Restructure CLI to bring in line with nipreps #697
Comments
This all looks good, except for I think you're totally right about (1) too. They don't share very much code and having both of their commandline options intermingled makes use of either more confusing. It might even be a good chance to start qsirecon in a clean repo |
+1 on a standalone qsirecon with standalone documentation. |
Would it make more sense to completely excise QSIRecon from QSIPrep (i.e., new repo, new Docker image) or to keep it all in the same package, with a separate command-line interface? Having them separate could reduce the size of the packages and the containers, but it could also increase the maintenance burden. |
I've been thinking about this one - there isn't a ton of overlap between the two workflows, but there definitely is some. I have a hunch that almost all of the overlap could be replaced by things already in nipreps. |
To follow up from a convo on Slack: during the recent NiPreps refactor, @mattcieslak noticed that there was more shared code between the preprocessing and reconstruction workflows than originally expected. I'd like to build a comprehensive list of the shared code at some point, but at least for now it's probably not a good idea to move QSIRecon (or QSIPost, which I prefer) into a separate repo. We could start by splitting the CLI at least. |
I'm on board - would you recommend forking qsiprep to start? Or starting with a fresh repo and copying as needed? |
I think we can just work within qsiprep for the initial CLI split. If we want to move forward with a full repo split, we can do that later. |
Then again... it's probably just easier to create a new repo and make QSIPrep a dependency of QSIRecon. Otherwise I have to create multiple versions of a bunch of files in the repo for the two pipelines. |
Going through the workflows now, the overlap isn't as big as I was initially worried about. We might not even need a dependency on a qsiprep |
the config object will also benefit from having 2 separate packages. it's currently not as straightforward as a config for a package that does only one main thing |
Okay, I've got the QSIPost repo started up in |
Summary
I have a few thoughts about how the QSIPrep CLI could be brought in line with the other preps a bit more.
--recon-input
and--freesurfer-input
into a--derivatives
that accepts a list of paths.--level
parameter to preprocessing workflow.minimal
option in fMRIPrep and ASLPrep involves outputting transform files, but not resampled imaging files.This is related to #696.
Additional details
Drawbacks
The text was updated successfully, but these errors were encountered: