Skip to content

Commit 66813a5

Browse files
authored
Remove table creation in custom segmentation and adjust memory of various methods (#102)
1 parent b76b9ec commit 66813a5

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/control_methods/identity/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ runners:
1616
- type: executable
1717
- type: nextflow
1818
directives:
19-
label: [midtime, midmem, lowcpu]
19+
label: [midtime, highmem, lowcpu]

src/control_methods/permute_celltype_annotations/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ runners:
2020
- type: executable
2121
- type: nextflow
2222
directives:
23-
label: [midtime, midmem, lowcpu]
23+
label: [midtime, highmem, lowcpu]

src/methods_segmentation/custom_segmentation/script.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
sdata_segmentation_only = sd.SpatialData(
2424
labels={
2525
"segmentation": sdata[par["labels_key"]]
26-
},
27-
tables={
28-
"table": ad.AnnData(
29-
obs=sdata.tables["table"].obs[["cell_id", "region"]],
30-
var=sdata.tables["table"].var[[]]
31-
)
32-
}
26+
}#,
27+
#tables={
28+
# "table": ad.AnnData(
29+
# obs=sdata.tables["table"].obs[["cell_id", "region"]],
30+
# var=sdata.tables["table"].var[[]]
31+
# )
32+
#}
3333
)
3434

3535
print("Writing output", flush=True)

src/methods_segmentation/watershed/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,5 @@ runners:
173173
- type: executable
174174
- type: nextflow
175175
directives:
176-
label: [ midtime, midcpu, highmem ]
176+
label: [ hightime, midcpu, veryhighmem ]
177177

src/metrics/quality/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ runners:
4242
- type: executable
4343
- type: nextflow
4444
directives:
45-
label: [midtime, midmem, midcpu]
45+
label: [midtime, highmem, midcpu]

src/metrics/similarity/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ runners:
101101
# Allows turning the component into a Nextflow module / pipeline.
102102
- type: nextflow
103103
directives:
104-
label: [midtime, midmem, midcpu]
104+
label: [midtime, highmem, midcpu]

0 commit comments

Comments
 (0)