Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 2 additions & 11 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,9 @@ jobs:
with:
pixi-version: v0.44.0

- name: re-create manifest
run: pixi run -e dev python src/ilastik_tasks/dev/create_manifest.py

- name: Check if manifest has changed
run: |
if [ -n "$(git diff --exit-code ./src/ilastik_tasks/__FRACTAL_MANIFEST__.json)" ]; then
echo "__FRACTAL_MANIFEST__.json has changed. Please run 'python src/ilastik_tasks/dev/create_manifest.py' and commit the changes."
exit 1
else
echo "__FRACTAL_MANIFEST__.json has not changed."
fi

run: pixi run fractal-manifest check --package ilastik-tasks

- name: Run tests
run: pixi run -e dev pytest

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,5 @@ pydantic = "==2.8.2"
docstring_parser = "==0.15"
ilastik-core = ">=1.4.2a1,<2"
vigra = ">=1.12.1,<2"
fractal-tasks-core = "==1.4.3"
fractal-tasks-core = "==1.5.3"
fractal-task-tools = "==0.0.12"
1 change: 1 addition & 0 deletions src/ilastik_tasks/__FRACTAL_MANIFEST__.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"Pixel Classifier"
],
"docs_info": "### Purpose\n\nThis task is used to apply a ilastik pixel classifier to an image.\n\n### Outputs\n\n- The `ilastik_pixel_classification_segmentation`: Generates a new label image named `output_label_name`.\n\n### Limitations\n\n- The task can only be used with single and dual channels pixel classifiers models.",
"type": "parallel",
"executable_parallel": "ilastik_pixel_classification_segmentation.py",
"meta_parallel": {
"cpus_per_task": 8,
Expand Down
9 changes: 0 additions & 9 deletions src/ilastik_tasks/dev/create_manifest.py

This file was deleted.

5 changes: 4 additions & 1 deletion src/ilastik_tasks/dev/task_list.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
"""Contains the list of tasks available to fractal."""

from fractal_tasks_core.dev.task_models import ParallelTask
from fractal_task_tools.task_models import ParallelTask

AUTHORS = "Lorenzo Cerrone"
DOCS_LINK = "https://github.com/fractal-analytics-platform/fractal-ilastik-tasks"

TASK_LIST = [
ParallelTask(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def check_ilastik_model_channels(shell) -> int:


if __name__ == "__main__":
from fractal_tasks_core.tasks._utils import run_fractal_task
from fractal_task_tools.task_wrapper import run_fractal_task

run_fractal_task(
task_function=ilastik_pixel_classification_segmentation,
Expand Down