Skip to content

Commit

Permalink
Rename task
Browse files Browse the repository at this point in the history
  • Loading branch information
jluethi committed May 31, 2024
1 parent e5f75fb commit d127e11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


@validate_arguments
def md_create_ome_zarr(
def convert_ome_zarr(
*,
zarr_urls: list[str],
zarr_dir: str,
Expand Down Expand Up @@ -179,6 +179,6 @@ def md_create_ome_zarr(
from fractal_tasks_core.tasks._utils import run_fractal_task

run_fractal_task(
task_function=md_create_ome_zarr,
task_function=convert_ome_zarr,
logger_name=logger.name,
)
4 changes: 2 additions & 2 deletions src/fractal_faim_ipa/dev/task_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

TASK_LIST = [
NonParallelTask(
name="Convert MD to OME-Zarr",
executable="md_create_ome_zarr.py",
name="FAIM IPA OME-Zarr Converter",
executable="convert_ome_zarr.py",
meta={"cpus_per_task": 8, "mem": 32000},
),
]
4 changes: 2 additions & 2 deletions tests/test_converter_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from pathlib import Path

import anndata as ad
from fractal_faim_ipa.md_create_ome_zarr import md_create_ome_zarr
from fractal_faim_ipa.convert_ome_zarr import convert_ome_zarr


def test_ome_zarr_conversion():
Expand All @@ -24,7 +24,7 @@ def test_ome_zarr_conversion():

output_name = "OME-Zarr"

image_list_update = md_create_ome_zarr(
image_list_update = convert_ome_zarr(
zarr_urls=[],
zarr_dir=str(zarr_root),
image_dir=image_dir,
Expand Down

0 comments on commit d127e11

Please sign in to comment.