Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a3b0883
Add mito segmentation model
folterj Apr 28, 2026
d9137ef
Read yaml descriptor format as well
folterj Apr 28, 2026
9a12d81
Update pyproject.toml
folterj Apr 28, 2026
58b9656
Update pyproject.toml
folterj Apr 29, 2026
fda5af7
Generalise descriptor into cytomine descriptor
folterj Apr 29, 2026
ecec774
Corrected docker image dict
folterj Apr 29, 2026
d4c7c0c
Fix command-line-flag
folterj Apr 29, 2026
00eeb94
Small fix
folterj Apr 29, 2026
3ee11e6
Update slurm_client.py
folterj Apr 29, 2026
61d574b
Update slurm-config.ini
folterj Apr 29, 2026
ac35958
Remove tag in URL
folterj Apr 30, 2026
b00a899
Update slurm_client.py
folterj Apr 30, 2026
a6a8da4
Extended bilayers parameters
folterj Apr 30, 2026
3e16a32
Ensure general description
folterj Apr 30, 2026
b6f1be5
Include bilayers types
folterj Apr 30, 2026
cd5ed85
Update slurm-config.ini
folterj May 1, 2026
5ade34c
Generic wf schema support
folterj May 5, 2026
63d1ce1
Added bilayers schema construction
folterj May 7, 2026
a51105e
Use schema parser when getting descriptor
folterj May 7, 2026
1242c88
Remove bilayer hacking, use generic format now
folterj May 7, 2026
244e0f0
Merge branch 'main' into dev-bilayers
folterj May 7, 2026
32b8afc
Convert descriptor to dict
folterj May 7, 2026
f0b3010
Restore __init__
folterj May 7, 2026
a32168e
underscore
TorecLuik May 7, 2026
1cf91ab
Fixed serialization
folterj May 7, 2026
17ddad7
Use docker type
folterj May 7, 2026
bb8792f
Update test_schema_parsers.py
folterj May 7, 2026
4aafac0
Put get_workflow_parameters back
folterj May 7, 2026
64ecd7d
Simplified param type to omtype
folterj May 7, 2026
135e50a
Set values if used for bilayers
folterj May 7, 2026
1bfa581
logging change and call to workflow_params
TorecLuik May 11, 2026
4de3597
Stupid f-string
TorecLuik May 11, 2026
1bae5f2
support value-choices
TorecLuik May 11, 2026
1e529c0
Support dropdown and support tag in docker
TorecLuik May 12, 2026
64c705f
Fix for bilayers tag
folterj May 12, 2026
8cbc92e
Add second template for bilayers I/O
TorecLuik May 12, 2026
db309f7
Merge branch 'dev-bilayers' of https://github.com/NL-BioImaging/biome…
TorecLuik May 12, 2026
60e11fb
Fix test after merge
TorecLuik May 12, 2026
03cf8bd
Handle output_set_dir as I/O param too
TorecLuik May 13, 2026
e016bb6
Parse more params in omero + test coverage
TorecLuik May 13, 2026
78e5a17
Allow getting descr from URL directly
TorecLuik May 19, 2026
f52189a
Fix test
TorecLuik May 19, 2026
e53e022
Allow list of subtypes and formats
TorecLuik May 19, 2026
037aeb5
Add (optional) advanced mode and value choice labels
TorecLuik May 20, 2026
e190bc2
add number tests
TorecLuik May 20, 2026
18e1312
Allow clitags with =, add = to i/o calls
TorecLuik May 20, 2026
5c679df
Add other inputs support
TorecLuik May 20, 2026
e86c1c5
Add file attachment support
TorecLuik May 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions biomero/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
IMAGE_EXPORT_SCRIPT = "_SLURM_Image_Transfer.py"
IMAGE_IMPORT_SCRIPT = "SLURM_Get_Results.py"
CONVERSION_SCRIPT = "SLURM_Remote_Conversion.py"
FILE_TRANSFER_SCRIPT = "_SLURM_File_Transfer.py"
RUN_WF_SCRIPT = "SLURM_Run_Workflow.py"
RUN_WF_BATCHED_SCRIPT = "SLURM_Run_Workflow_Batched.py"

Expand Down Expand Up @@ -150,9 +151,17 @@ class transfer:
OME_ZARR_VERSION_1_0 = '1.0'
FOLDER = "Folder_Name"
FOLDER_DEFAULT = 'SLURM_IMAGES_'


class workflow_status:

class file_transfer:
# ------------------------------------------------------------
# _SLURM_File_Transfer script constants
# ------------------------------------------------------------
FILE_ANNOTATION_ID = "Annotation_ID"
PARAM_NAME = "Param_Name"
FOLDER = "Folder_Name"


INITIALIZING = "INITIALIZING"
TRANSFERRING = "TRANSFERRING"
CONVERTING = "CONVERTING"
Expand All @@ -162,4 +171,16 @@ class workflow_status:
DONE = "DONE"
FAILED = "FAILED"
RUNNING = "RUNNING"
JOB_STATUS = "JOB_"
JOB_STATUS = "JOB_"


class schema_formats:
# ------------------------------------------------------------
# Workflow descriptor schema format identifiers
# ------------------------------------------------------------
BIAFLOWS = "BIAFLOWS" # cytomine-0.1 format
CYTOMINE = "cytomine-0.1" # legacy name
BIOMERO_SCHEMA = "biomero-schema" # new Pydantic format
BILAYERS = "BILAYERS"
CWL = "CWL" # Common Workflow Language
OPENAPI = "OpenAPI" # OpenAPI format
Loading
Loading