Skip to content

Commit

Permalink
Merge pull request #58 from GNS-Science/add_0.5in50
Browse files Browse the repository at this point in the history
Add 0.5in50
  • Loading branch information
chrisdicaprio authored Jan 31, 2024
2 parents 2df6d08 + 2f98f50 commit 940883f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.7.7
current_version = 0.7.8
commit = True
tag = True

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.7.8] - 2023-01-31
### Added
- 0.5% in 50 years PoE for disaggregations

## [0.7.7] - 2023-12-13
### Changed
- fix publication workflow
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool]
[tool.poetry]
name = "toshi-hazard-store"
version = "0.7.7"
version = "0.7.8"
homepage = "https://github.com/GNS-Science/toshi-hazard-store"
description = "Library for saving and retrieving NZHSM openquake hazard results with convenience (uses AWS Dynamodb)."
authors = ["GNS Science <[email protected]>"]
Expand Down
1 change: 1 addition & 0 deletions tests/test_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ def test_serialise_all_valid_percentiles(valid_arg):
"_5_PCT_IN_50YRS": 1.0253e-03,
"_2_PCT_IN_50YRS": 4.0397e-04,
"_1_PCT_IN_50YRS": 2.0099e-04,
"_05_PCT_IN_50YRS": 1.0025e-04,
}


Expand Down
2 changes: 1 addition & 1 deletion toshi_hazard_store/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """GNS Science"""
__email__ = '[email protected]'
__version__ = '0.7.7'
__version__ = '0.7.8'

import toshi_hazard_store.model as model
import toshi_hazard_store.query.hazard_query as query_v3 # alias for clients using deprecated module name
1 change: 1 addition & 0 deletions toshi_hazard_store/model/constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class ProbabilityEnum(Enum):
_5_PCT_IN_50YRS = 1.0253e-03
_2_PCT_IN_50YRS = 4.0397e-04
_1_PCT_IN_50YRS = 2.0099e-04
_05_PCT_IN_50YRS = 1.0025e-04


class IntensityMeasureTypeEnum(Enum):
Expand Down

0 comments on commit 940883f

Please sign in to comment.