Skip to content

Commit 3ae5a32

Browse files
committed
removed extra non-mandatory comments
1 parent 4bc32a6 commit 3ae5a32

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

deep_code/utils/ogc_record_generator.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,15 @@ def build_record_properties(
5555
properties.update({"created": now_iso})
5656
properties.update({"updated": now_iso})
5757

58-
# Extract themes from the properties dictionary
5958
themes_list = properties.get("themes", [])
6059

61-
# Build contact objects
6260
properties.update({"contacts": self.build_contact_objects(contacts)})
6361

64-
# Build theme object if themes are present
6562
if themes_list:
6663
theme_obj = self.build_theme(themes_list)
6764
properties.update(
6865
{"themes": [theme_obj]}
69-
) # Wrap the Theme object in a list
66+
)
7067

7168
properties.setdefault("type", "workflow")
7269
properties.setdefault("osc_project", "deep-earth-system-data-lab")

0 commit comments

Comments
 (0)