|
33 | 33 | "default": false,
|
34 | 34 | "title": "Overwrite Input",
|
35 | 35 | "type": "boolean",
|
36 |
| - "description": "Whether" |
| 36 | + "description": "Whether the existing iamge should be overwritten with the new OME-Zarr without the T dimension." |
37 | 37 | }
|
38 | 38 | },
|
39 | 39 | "required": [
|
|
128 | 128 | "title": "Convert2dSegmentationTo3d"
|
129 | 129 | },
|
130 | 130 | "docs_link": "https://github.com/jluethi/fractal-helper-tasks"
|
| 131 | + }, |
| 132 | + { |
| 133 | + "name": "Rechunk OME-Zarr", |
| 134 | + "tags": [ |
| 135 | + "Rechunking", |
| 136 | + "Many files" |
| 137 | + ], |
| 138 | + "docs_info": "### Purpose\n- Rechunks OME-Zarr to new chunking parameters: Changes whether the array is stored as many small files or few larger files.\n- Optionally applies the same rechunking to label images.\n\n### Outputs\n- A **new Zarr image** that is rechunked.\n", |
| 139 | + "executable_parallel": "rechunk_zarr.py", |
| 140 | + "meta_parallel": { |
| 141 | + "cpus_per_task": 1, |
| 142 | + "mem": 4000 |
| 143 | + }, |
| 144 | + "args_schema_parallel": { |
| 145 | + "additionalProperties": false, |
| 146 | + "properties": { |
| 147 | + "zarr_url": { |
| 148 | + "title": "Zarr Url", |
| 149 | + "type": "string", |
| 150 | + "description": "Path or url to the individual OME-Zarr image to be processed. (standard argument for Fractal tasks, managed by Fractal server)." |
| 151 | + }, |
| 152 | + "chunk_sizes": { |
| 153 | + "additionalProperties": { |
| 154 | + "type": "integer" |
| 155 | + }, |
| 156 | + "title": "Chunk Sizes", |
| 157 | + "type": "object", |
| 158 | + "description": "Dictionary of chunk sizes to adapt. One can set any of the t, c, z, y, x axes that exist in the input image to be resized to a different chunk size. For example, {\"y\": 4000, \"x\": 4000} will set a new x & y chunking while maintaining the other chunk sizes. {\"z\": 10} will just change the Z chunking while keeping all other chunk sizes the same as the input." |
| 159 | + }, |
| 160 | + "suffix": { |
| 161 | + "default": "rechunked", |
| 162 | + "title": "Suffix", |
| 163 | + "type": "string", |
| 164 | + "description": "Suffix of the rechunked image." |
| 165 | + }, |
| 166 | + "rechunk_labels": { |
| 167 | + "default": true, |
| 168 | + "title": "Rechunk Labels", |
| 169 | + "type": "boolean", |
| 170 | + "description": "Whether to apply the same rechunking to all label images of the OME-Zarr as well." |
| 171 | + }, |
| 172 | + "rebuild_pyramids": { |
| 173 | + "default": true, |
| 174 | + "title": "Rebuild Pyramids", |
| 175 | + "type": "boolean", |
| 176 | + "description": "Whether pyramids are built fresh in the rechunked image. This has a small performance overhead, but ensures that this task is save against off-by-one issues when pyramid levels aren't easily downsampled by 2." |
| 177 | + }, |
| 178 | + "overwrite_input": { |
| 179 | + "default": true, |
| 180 | + "title": "Overwrite Input", |
| 181 | + "type": "boolean", |
| 182 | + "description": "Whether the old image without rechunking should be overwritten (to avoid duplicating the data needed)." |
| 183 | + }, |
| 184 | + "overwrite": { |
| 185 | + "default": false, |
| 186 | + "title": "Overwrite", |
| 187 | + "type": "boolean", |
| 188 | + "description": "Whether to overwrite potential pre-existing output with the name zarr_url_suffix." |
| 189 | + } |
| 190 | + }, |
| 191 | + "required": [ |
| 192 | + "zarr_url" |
| 193 | + ], |
| 194 | + "type": "object", |
| 195 | + "title": "RechunkZarr" |
| 196 | + }, |
| 197 | + "docs_link": "https://github.com/jluethi/fractal-helper-tasks" |
131 | 198 | }
|
132 | 199 | ],
|
133 | 200 | "has_args_schemas": true,
|
|
0 commit comments