Skip to content

Feature/model selector#15

Draft
maartenpaul wants to merge 3 commits into
NL-BioImaging:mainfrom
maartenpaul:feature/model-selector
Draft

Feature/model selector#15
maartenpaul wants to merge 3 commits into
NL-BioImaging:mainfrom
maartenpaul:feature/model-selector

Conversation

@maartenpaul
Copy link
Copy Markdown
Member

This pull request adds support for custom model selection in workflows, improves the handling and display of available models from the SLURM cluster, and updates the frontend to allow users to select custom-trained models if available. It also ensures that model information is passed through the backend and exposed in the UI.

Backend enhancements for model support:

  • The backend now extracts available models for each workflow from SLURM parameters and includes them in the SLURM status response as workflow_models. [1] [2] [3]
  • The run_workflow_script function is updated to handle a custom_model parameter, ensuring the selected model is passed to the workflow script if provided. [1] [2]

Frontend/UI improvements:

  • The workflow form now displays a "Custom Model" dropdown selector when models are available for the selected workflow, allowing users to pick a custom-trained model from the SLURM cluster. [1] [2]
  • The SLURM status indicator updates the application state with available models per workflow, enabling the new UI feature.

Static asset updates:

  • Updated asset references in asset-manifest.json and added/modified corresponding JavaScript and license files to reflect the new build, ensuring the frontend changes are deployed. [1] [2] [3] [4] [5]

I would consider this a draft implementation of this NL-BioImaging/biomero#16
These changes collectively allow users to select and run workflows with custom models, improving flexibility and integration with SLURM-managed resources.

Related to: NL-BioImaging/biomero#25

maartenpaul and others added 3 commits April 2, 2026 08:39
Models are now discovered through the OMERO script service (same
architecture as workflow versions), removing the need for SSH access
from the web container. The SLURM status endpoint returns models
per workflow, and the frontend reads them from the status response.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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