File tree Expand file tree Collapse file tree 6 files changed +13
-11
lines changed
analyses/ncifunctionality Expand file tree Collapse file tree 6 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
7
7
8
8
9
- ## [ Unreleased ]
9
+ ## [ 1.22.0 ] - 2025-07-31
10
10
11
11
### Added
12
12
Original file line number Diff line number Diff line change 33
33
author = ""
34
34
35
35
# The short X.Y version
36
- version = "1.21 "
36
+ version = "1.22 "
37
37
# The full version, including alpha/beta/rc tags
38
- release = "1.21 .0"
38
+ release = "1.22 .0"
39
39
40
40
# -- General configuration ---------------------------------------------------
41
41
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ def run(self):
51
51
discretized_days = self .get_parameter ("discretized_days" )
52
52
53
53
# Load all dataset-related entities for EPF
54
- epf_network_dataset = self .get_input_dataset ("epn_network " )
54
+ epf_network_dataset = self .get_input_dataset ("epf_network " )
55
55
if not isinstance (epf_network_dataset , NetworkDataset ):
56
56
epf_network_dataset = NetworkDataset .from_dataset (
57
- self .get_input_dataset ("epn_network " )
57
+ self .get_input_dataset ("epf_network " )
58
58
)
59
59
60
60
epf_network_nodes = epf_network_dataset .nodes .get_dataframe_from_shapefile ()
Original file line number Diff line number Diff line change 10
10
import os
11
11
import shutil
12
12
13
- PACKAGE_VERSION = "1.21 .0"
13
+ PACKAGE_VERSION = "1.22 .0"
14
14
15
15
INCORE_API_PROD_URL = "https://tools.in-core.org"
16
16
INCORE_API_DEV_URL = "https://dev.in-core.org"
Original file line number Diff line number Diff line change @@ -209,10 +209,12 @@ def post_earthquake_hazard_values(
209
209
"""
210
210
url = urljoin (self .base_earthquake_url , hazard_id + "/values" )
211
211
site_class_dataset_id = ""
212
- value = payload [len (payload ) - 1 ]
213
- if "siteClassId" in value :
214
- payload = payload [:- 1 ]
215
- site_class_dataset_id = value ["siteClassId" ]
212
+
213
+ if len (payload ) > 0 :
214
+ value = payload [len (payload ) - 1 ]
215
+ if "siteClassId" in value :
216
+ payload = payload [:- 1 ]
217
+ site_class_dataset_id = value ["siteClassId" ]
216
218
217
219
kwargs = {
218
220
"files" : {
Original file line number Diff line number Diff line change 7
7
from setuptools import setup , find_packages
8
8
9
9
# version number of pyincore
10
- version = "1.21 .0"
10
+ version = "1.22 .0"
11
11
12
12
with open ("README.rst" , encoding = "utf-8" ) as f :
13
13
readme = f .read ()
You can’t perform that action at this time.
0 commit comments