Nzshm-model

Latest version: v0.9.3

Safety actively analyzes 622475 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.9.3

Changed
- NshmModel property gmm_logic_tree returns a GMCMLogicTree object rather than an OpenQuake psha_adaptor object

0.9.2

Added
- create LogicTree objects from hand-built json

Changed
- alter form of serialized LogicTree object

0.9.1

Changed
- correlations are ported when converting from version1 to version2 of source logic tree

0.9.0

Added
- classes and methods to enforce correlation between logic tree branches

Changed
- test matrix includes python3.10, 3.11, windows, macOS

Fixed
- python3.11 dataclass compatibility

0.8.0

Changed
- default model version is now NSHM_v.1.0.4
- code refactoring to improve docs and tests
- NshmModel gmm_logic_treee and source_logic_tree are now properties not functions()
- get_model_version in nzshm_model is now a wrapper for the underlying NzshmModel implementation
- added mkdocs-click for cli docs
- removed stale code from scripts

Added
- documentation setup
- new NshmModel methods
- get_model_version
- get_source_branch_sets
- more test coverage
- API documentation
- scripts documentation

0.7.0

Added

- logic tree base classes

Changed

- source logic tree fault systems now named branch sets. API aliases available for backward compatibility with deprecation warning
- source branch tag method changed to property

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.