Skip to content

Feat/run on neurodesk - #16

Merged
nx10 merged 4 commits into
mainfrom
feat/run-on-neurodesk
Jul 10, 2026
Merged

Feat/run on neurodesk#16
nx10 merged 4 commits into
mainfrom
feat/run-on-neurodesk

Conversation

@nx10

@nx10 nx10 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

nx10 added 4 commits July 10, 2026 01:00
Turn the current tool config into a runnable notebook and launch it on
Neurodesk Play (the free public JupyterHub, tools preinstalled via CVMFS/lmod).

The notebook installs niwrap, loads the tool's Neurodesk module (from its
neurodeskId), and runs the tool's compiled Python invocation (the same call
the Python tab shows), falling back to niwrap.execute(config) when the
compiler can't render it.

The config panel gets a "Run on Neurodesk" split button:
- main: one-click launch on the auto-detected nearest Play hub
- caret: region picker (Auto / US / EU / AU)

When a launcher Worker is configured (defaults to the deployed instance,
overridable with VITE_NEURODESK_LAUNCHER_URL) the hub posts the gzip'd
notebook to it and the Worker serves it as a throwaway git repo for Play's
nbgitpuller. Oversized configs, or no launcher, fall back to downloading the
.ipynb and opening the regional hub.
@nx10
nx10 merged commit 328bbf0 into main Jul 10, 2026
4 checks passed
@nx10
nx10 deleted the feat/run-on-neurodesk branch July 10, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant