Repository navigation
feat(nextflow): compile, run and import workflows on a Nextflow DSL2 target - #570
Merged
Merged
Conversation
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.
What
feat/nf-support, from feat: compile Sophios workflows to Nextflow IR #378 to chore(nextflow): rebase the backend onto master #568. The branch already holds master through3f14788b(chore(nextflow): rebase the backend onto master #568), so the merge has no conflicts and changes nothing master has; the diff is the backend alone, 92 files, +24,167 −318.docs/nextflow.mdis the user guide, with what the target does with each field;design_docs/sophios_nextflow_backend.mdis the design.sophios --yaml workflow.wic --target nextflow, orworkflow.compile(target="nextflow"), which returns aCompiledNextflowWorkflowwhosewrite()writes the four files.--run_local,--checkand--generate_run_scriptunder--target nextflow, andrun(),start()andrun_async()withtarget="nextflow", as onenextflow runon this machine.sophios.api.python.nextflow.import_nextflow(directory)reads a pipeline Sophios wrote back into aWorkflow.wic046towic054: a CUDA field the pipeline does not check (a note), and the import's refusals.--target(defaultcwl) andtarget=. Each CLI option is declared under the target it belongs to, and an option of the other target, set away from its default, is an error.flow.inputs.x = v, is the job's value ofxincompile(),run()and a compute request; an inputs file passed torun()still wins. Master drops it._..github/workflows/nextflow.yml, Nextflow 26.04.2 on Java 17) runs the runtime, Docker and pure suites, and Run Workflows also runs the corpus under Nextflow on a push. The packaging lanes leave out the tests that need Nextflow;tests/core/test_ci_coverage.pychecks both.Why
The backend was built and reviewed one PR at a time on
feat/nf-support, merging master in as it moved (#379, #469, #536, #563, #568). This brings it to master.Merge this with a merge commit: a squash would fold the backend's 350 commits into one and leave
feat/nf-support's history apart from master's.Known gaps
CommandLineTool-equivalent,longanddoubleare rejected, and so are fractional CPU requirements.stdintaken from a literal path or astringinput runs under Nextflow, while cwltool refuses it ("missing from pathmapper").Checked
git merge-tree --write-tree master feat/nf-supportgivesfeat/nf-support's own tree: no conflicts.0140534fhad, and every lane passed on it: Lint And Test, Nextflow Backend, Run Workflows and Build and Test Wheel.