Skip to content

Commit c28f5d4

Browse files
committed
Only include authors if not null
1 parent cfc870e commit c28f5d4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

fractal_tasks_core/__FRACTAL_MANIFEST__.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"manifest_version": "2",
3-
"authors": "Name FIXME, Name FIXME, Name FIXME",
43
"task_list": [
54
{
65
"name": "Convert Cellvoyager to OME-Zarr",
@@ -1548,5 +1547,6 @@
15481547
}
15491548
],
15501549
"has_args_schemas": true,
1551-
"args_schema_version": "pydantic_v2"
1550+
"args_schema_version": "pydantic_v2",
1551+
"authors": "Name FIXME, Name FIXME, Name FIXME"
15521552
}

fractal_tasks_core/dev/create_manifest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,13 @@ def create_manifest(
7272
# Prepare an empty manifest
7373
manifest = dict(
7474
manifest_version=manifest_version,
75-
authors=authors,
7675
task_list=[],
7776
has_args_schemas=has_args_schemas,
7877
)
7978
if has_args_schemas:
8079
manifest["args_schema_version"] = ARGS_SCHEMA_VERSION
80+
if authors is not None:
81+
manifest["authors"] = authors
8182

8283
# Prepare a default value of docs_link
8384
if package == "fractal_tasks_core" and docs_link is None:

0 commit comments

Comments
 (0)