Skip to content

Commit 0fe0430

Browse files
committed
more fixes, bump to b5
1 parent a0ad951 commit 0fe0430

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name="stactask",
15-
version="0.1.0b4",
15+
version="0.1.0b5",
1616
description=(
1717
"STAC Task class provides a class interface for running custom algorithms on STAC Items"
1818
),

stactask/task.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ def add_software_version(cls, items: List[Dict]):
147147
i["stac_extensions"] = []
148148
i["stac_extensions"].append(processing_ext)
149149
i["stac_extensions"] = list(set(i["stac_extensions"]))
150+
if "properties" not in i:
151+
i["properties"] = {}
150152
i["properties"]["processing:software"] = {cls.name: cls.version}
151153
return items
152154

0 commit comments

Comments
 (0)