Skip to content

Commit b9502ec

Browse files
authored
Add illumination correction to the manifest
Add illumination correction to the manifest
2 parents 624d4cf + db0bd2d commit b9502ec

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

fractal_tasks_core/__init__.py

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__VERSION__ = "0.1.1"
1+
__VERSION__ = "0.1.3"
22

33
__FRACTAL_MANIFEST__ = [
44
{
@@ -40,7 +40,7 @@
4040
"resource_type": "core task",
4141
"input_type": "zarr",
4242
"output_type": "zarr",
43-
"module": f"{__name__}.replicate_zarr_structure:replicate_zarr_structure",
43+
"module": f"{__name__}.replicate_zarr_structure:replicate_zarr_structure", # noqa: E501
4444
"default_args": {
4545
"executor": "cpu",
4646
"project_to_2D": True,
@@ -52,7 +52,7 @@
5252
"resource_type": "core task",
5353
"input_type": "zarr",
5454
"output_type": "zarr",
55-
"module": f"{__name__}.maximum_intensity_projection:maximum_intensity_projection",
55+
"module": f"{__name__}.maximum_intensity_projection:maximum_intensity_projection", # noqa: E501
5656
"default_args": {"executor": "cpu", "parallelization_level": "well"},
5757
},
5858
{
@@ -72,7 +72,7 @@
7272
"resource_type": "core task",
7373
"input_type": "zarr",
7474
"output_type": "zarr",
75-
"module": f"{__name__}.image_labeling_whole_well:image_labeling_whole_well",
75+
"module": f"{__name__}.image_labeling_whole_well:image_labeling_whole_well", # noqa: E501
7676
"default_args": {
7777
"labeling_channel": "A01_C01",
7878
"executor": "cpu", # FIXME: put gpu
@@ -93,4 +93,18 @@
9393
"parallelization_level": "well",
9494
},
9595
},
96+
{
97+
"name": "Illumination correction",
98+
"resource_type": "core task",
99+
"input_type": "zarr",
100+
"output_type": "zarr",
101+
"module": f"{__name__}.illumination_correction:illumination_correction", # noqa: E501
102+
"default_args": {
103+
"overwrite": False,
104+
"dict_corr": None,
105+
"background": 100,
106+
"executor": "cpu",
107+
"parallelization_level": "well",
108+
},
109+
},
96110
]

fractal_tasks_core/illumination_correction.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@ def illumination_correction(
265265

266266

267267
if __name__ == "__main__":
268+
269+
# FIXME
270+
raise NotImplementedError("TODO: CLI argument parsing is not up to date")
271+
268272
from argparse import ArgumentParser
269273

270274
parser = ArgumentParser(prog="illumination_correction.py")

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "fractal-tasks-core"
3-
version = "0.1.1"
3+
version = "0.1.3"
44
description = ""
55
authors = [
66
"Jacopo Nespolo <[email protected]>",
@@ -47,7 +47,7 @@ build-backend = "poetry.core.masonry.api"
4747

4848

4949
[tool.bumpver]
50-
current_version = "0.1.1"
50+
current_version = "0.1.3"
5151
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
5252
commit_message = "bump version {old_version} -> {new_version}"
5353
commit = true

0 commit comments

Comments
 (0)