Skip to content

Commit dee36f8

Browse files
committed
Update cli.py
1 parent 13272e7 commit dee36f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/cli.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ def prepare_mapping_registry(registry_file, output_file):
6565
# Parse mapping set using SSSOM
6666
mapping_table = parse_sssom_table(StringIO(mapping_response.text))
6767
mapping_set_version = mapping_table.metadata.get("mapping_set_version", "none")
68-
mapping_set_title = mapping_table.metadata.get("mapping_set_title", mapping_set_id)
68+
mapping_set_title = mapping_table.metadata.get("mapping_set_title", "No title available")
6969
mapping_set_description = mapping_table.metadata.get("mapping_set_description", "No description available")
7070
mapping_provider = mapping_table.metadata.get("mapping_provider", "No provider information available")
7171
issue_tracker = mapping_table.metadata.get("issue_tracker", "No issue tracker available")
72+
license = mapping_table.metadata.get("license", "No license provided")
7273

7374
# Add to registry entry
7475
registry_entry["mapping_sets"].append({
@@ -81,6 +82,7 @@ def prepare_mapping_registry(registry_file, output_file):
8182
"mapping_set_description": mapping_set_description,
8283
"mapping_provider": mapping_provider,
8384
"issue_tracker": issue_tracker,
85+
"license": license,
8486
})
8587

8688
# Add registry entry to combined data

0 commit comments

Comments
 (0)