Skip to content

0.2.0

Choose a tag to compare

@michaelmayer2 michaelmayer2 released this 21 Oct 21:39
· 16 commits to main since this release
e4142bd

Run events for the Positron Nextflow extension, and launcher subcommands for tools. The plugin's submit/status/kill contract with the launcher is unchanged.

Added

  • Run events: with workbench.eventsFile set, the plugin appends workflow and task events to that file as JSON lines:
    • the events are started, task_submitted, task_started, task_completed, task_cached, error and completed
    • workflow events include Nextflow's errorReport
    • this works for any executor when the plugin is loaded, e.g. with -plugins nf-workbench@0.2.0
    • see Run events
  • Launcher clusters [--json]: lists cluster names and their resource profiles.
  • Launcher whoami [--json]: shows the active credential path (session or api-key), the user and the server.
  • Launcher status: accepts job ids to filter by, and --json for structured output.

Changed

  • The plugin and launcher are now 0.2.0. Update plugins { id 'nf-workbench@0.2.0' } in pipeline configs.

Install

Plugin: unzip nf-workbench-0.2.0.zip into the Nextflow plugins directory:

mkdir -p ~/.nextflow/plugins/nf-workbench-0.2.0
unzip nf-workbench-0.2.0.zip -d ~/.nextflow/plugins/nf-workbench-0.2.0

Alternatively, build it from source with cd plugin && gradle install.

Launcher: the launcher needs posit-sdk from the workbench branch of michaelmayer2/posit-sdk-py. The posit-sdk on PyPI does not include the Workbench jobs API yet. Install the wheel together with it:

uv tool install --with "posit-sdk @ git+https://github.com/michaelmayer2/posit-sdk-py@workbench" \
  https://github.com/sol-eng/posit-sdk-nextflow/releases/download/v0.2.0/posit_workbench_nf_launcher-0.2.0-py3-none-any.whl

Alternatively, build it from source with cd launcher && uv venv && uv pip install ..

See CHANGELOG.md.