Skip to content

Commit

Permalink
Fix tests for custom segmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisK92 committed Sep 21, 2024
1 parent a733222 commit 5a2656d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/api/comp_method_segmentation.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
namespace: methods
info:
type: method
subtype: method_segmentation
Expand Down
15 changes: 14 additions & 1 deletion src/methods_segmentation/custom/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,22 @@ name: custom

__merge__: /src/api/comp_method_segmentation.yaml

info:
name: custom
type: method
label: "Custom Segmentation Method"
summary: "Copy and output a previous custom segmentation that's already in the sdata.zarr"
description: "Copy and output a previous custom segmentation that's already in the sdata.zarr"
documentation_url: "https://github.com/openproblems-bio/task_ist_preprocessing"
repository_url: "https://github.com/openproblems-bio/task_ist_preprocessing"
references:
doi: "10.1101/2023.02.13.528102"

arguments:
- name: --labels_key
type: string
description: The key of the segmentation within the labels of the spatial data
required: true
default: cell_labels

resources:
- type: python_script
Expand All @@ -22,3 +33,5 @@ engines:
runners:
- type: executable
- type: nextflow
directives:
label: [ midtime, lowcpu, lowmem ]

0 comments on commit 5a2656d

Please sign in to comment.