-
Notifications
You must be signed in to change notification settings - Fork 6
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
Write out reports to individual reconstruction derivative folders #53
Conversation
This reverts commit 833fbe3.
My PNG-to-SVG conversion is not working very well, unfortunately. I'll probably drop that in favor of opening an issue on Nireports. EDIT: I've opened nipreps/nireports#124. |
…into improve-reports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new interfaces here aren't used yet. I want to tackle that in a separate PR.
I still want to see if I can reorganize the scalar datasink into a short workflow at some point, but the TSV splitter datasink and folder-based recon datasink will be harder. |
I always prefer workflows too. I ended up with interfaces for these because you can't predict ahead of time what might be produced in the different nodes. But there might be a way! :roadmap: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is brilliant work. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems like a massive improvement
DIFFUSION_TEMPLATE = """\t\t<h3 class="elem-title">Summary</h3> | ||
\t\t<ul class="elem-desc"> | ||
\t\t\t<li>Phase-encoding (PE) direction: {pedir}</li> | ||
\t\t\t<li>Susceptibility distortion correction: {sdc}</li> | ||
\t\t\t<li>Coregistration Transform: {coregistration}</li> | ||
\t\t\t<li>Denoising Method: {denoise_method}</li> | ||
\t\t\t<li>Denoising Window: {denoise_window}</li> | ||
\t\t\t<li>HMC Transform: {hmc_transform}</li> | ||
\t\t\t<li>HMC Model: {hmc_model}</li> | ||
\t\t\t<li>DWI series resampled to spaces: T1wACPC</li> | ||
\t\t\t<li>Confounds collected: {confounds}</li> | ||
\t\t\t<li>Impute slice threshold: {impute_slice_threshold}</li> | ||
\t\t</ul> | ||
{validation_reports} | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is only relevant for preprocessing. We'll have to get creative for how to represent recon workflows here
Closes #51.
Changes proposed in this pull request
io_spec.json
to control output filenames.ReconDerivativesDataSink
withDerivativesDataSink
for all non-folder outputs.clean_datasinks
function to define the output directory for each reconstruction workflow separately.To do: