Skip to content

Commit

Permalink
fixed bug with addition of prodtype in info array
Browse files Browse the repository at this point in the history
  • Loading branch information
lstillwe committed Jun 30, 2023
1 parent c705c13 commit 6909ad3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion terria_catalogV8DB.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ class TerriaCatalogDB:
'"name": "Storm Name",' \
'"content": "Content",' \
'"show": false' \
'},' \
'{' \
'"name": "Product Type",' \
'"content": "Content",' \
'"show": false' \
'}' \
']' \
'}'
Expand Down Expand Up @@ -502,7 +507,8 @@ def update_item_info(self, info, layer_info, product_type):
info[7]["content"] = layer_info["location"]
# storm name
info[9]["content"] = layer_info["stormname"]
info[10]["product_type"] = product_type
# layer type - i.e. maxele, maxwvel, etc.
info[10]["content"] = product_type

return info

Expand Down

0 comments on commit 6909ad3

Please sign in to comment.