Closed eilidhmacnicol closed 4 years ago
Best reviewed: commit by commit
Powered by Pull Assistant. Last update 2d8bafd ... 04c8313. Read the comment docs.
Thanks for your comments! My plan is to look at them all today.
Okay, @oesteban: I'd appreciate your thoughts on a few things before moving on with this, but I think this is almost ready to merge. (This is mostly summarising comments from up and down the page, so they're in the same place).
data
, but sherlock would not run the scripts any other way. I've left your suggestions open just now; if you think we should go ahead and close this pull request before I try to test it more on Sherlock, then I'll make the changes you suggested (i.e. remove the data
). If not, this will take some more time as I test all this on Sherlock, likely after Easter weekend.I think that's everything else resolved, though.
Okay, two things remaining if you find time to check this today.
The first is the mosaic plot function from MRIQC versus niworkflows. If you think there's an appropriate function in niworkflows, then we can get rid of the viz.py that I have which is a trimmed-down version of the script from MRIQC.
The second is the test function suggestion. I forgot to ask you what you meant on zoom.
The first is the mosaic plot function from MRIQC versus niworkflows.
I think we want to start with MRIQC in this case. There are good alternatives in NiWorkflows, but they reorient the image and I believe we don't want that in this case.
The second is the test function suggestion.
Integrate some testing suite (I'd go with pytest which is basically the standard these days) and call your plotting function on the T2w of the template with the mask. That should give us a pretty picture of the template.
I think we can do the test function on another PR, so we feel some progress merging this :)
Adds mosaic plot function and a wrapper which calls the brain extraction workflow and generates mosaic plots of outputs. Also includes some fixes to the brain extraction workflow, importantly adding data grabber and data sink, and some small changes to placate linter.