Repository navigation
Conversation
A reconstruct config lists waveorder configs by name under `reconstructions:`, each with its own transfer function and per-position tasks writing into one plate. The zebrafish config adds Richardson-Lucy deconvolution of GFP and mCherry on GPUs. Virtual staining waits only for the reconstructions writing its source channel; assemble waits for all of them. Closes #462.
Collaborator
Author
|
We've merged WaveOrder#595, I think this is ready for you to trial @tayllatheodoro! |
srivarra
marked this pull request as ready for review
November 10, 2026 19:52
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
Closes #462.
Summary
GFP and mCherry deconvolution had to run by hand after the pipeline. The reconstruct step takes one waveorder config, and waveorder refuses fluorescence and phase in the same config.
A reconstruct config now lists waveorder configs by name under
reconstructions:. Each one gets its own transfer function and per-position tasks, and all of them write into the one reconstruct plate. The zebrafish config adds Richardson-Lucy deconvolution ofgfpandmcherryon GPUs, with the settings from the neuromast sweeps. Virtual staining starts once phase is done and runs beside the deconvolutions. Assemble waits for all of them.This breaks existing reconstruct configs. Nest one as
reconstructions: {phase: <old config>}.It needs Biohub/waveorder#595. Without it, waveorder ignores
device: cudaand runs Richardson-Lucy on the CPU.Testing
pytest tests: 735 passed, 18 skipped.nextflow run nextflow/tests/gate_shapes.nfpasses with the per-reconstruction gates.nextflow lintreports no errors.gfpreconstruction, ran both transfer functions, phase on the CPU process andgfpon the GPU process. The plate has both channels and both provenance keys. With the waveorder fix, thegfptask allocated GPU memory and matched the CPU result to within 1e-6.Checklist