Skip to content

Commit

Permalink
Merge pull request #738 from kartoza/timlinux/issue704
Browse files Browse the repository at this point in the history
Bump version and fix analysis issue
  • Loading branch information
timlinux authored Jan 8, 2025
2 parents b20353a + b401c0d commit 2fdcd34
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"author": "Kartoza",
"email": "info@kartoza.com",
"description": "Gender Enabling Environments Spatial Tool",
"version": "0.4.3",
"version": "0.4.4",
"changelog": "",
"server": false
}
Expand Down
20 changes: 12 additions & 8 deletions geest/gui/panels/tree_panel.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json
import os
import shutil
import traceback
from logging import getLogger
from typing import Union, Dict, List
from qgis.PyQt.QtWidgets import (
Expand Down Expand Up @@ -1440,14 +1441,17 @@ def calculate_analysis_insights(self, item: JsonTreeItem):
# leaving us with 2 potential products:
# Subnational Aggregation fpr WEE Score x Population Unmasked
# Subnational Aggregation for WEE Score x Population masked by Job Opportunities

subnational_processor = SubnationalAggregationProcessingTask(
item,
study_area_gpkg_path=gpkg_path,
working_directory=self.working_directory,
force_clear=False,
)
subnational_processor.run()
try:
subnational_processor = SubnationalAggregationProcessingTask(
item,
study_area_gpkg_path=gpkg_path,
working_directory=self.working_directory,
force_clear=False,
)
subnational_processor.run()
except Exception as e:
log_message(f"Failed to run subnational aggregation: {e}")
log_message(traceback.format_exc())

log_message("############################################")
log_message("END")
Expand Down

0 comments on commit 2fdcd34

Please sign in to comment.