gem / oq-irmt-qgis

QGIS plugin to drive the OpenQuake Engine, to develop Social Vulnerability and Integrated Risk composite indices, and to predict building recovery times following an earthquake
https://plugins.qgis.org/plugins/svir/
8 stars 3 forks source link

Add a check raising an error if qgis:joinbylocationsummary was not retrieved correctly #843

Closed ptormene closed 1 year ago

ptormene commented 1 year ago

For some reason, it looks like the algorithm SpatialJoinSummary suddenly disappeared from QGIS processing algorithms, therefore we have a broken unit test when running tests with the latest QGIS docker image. I've written to the QGIS developers mailing list asking about this, to understand if the algorithm was recently replaced by something else or if it was perhaps deleted accidentally.

The additional check introduced by this PR should produce a clearer error message than https://github.com/gem/oq-irmt-qgis/actions/runs/6394447410/job/17356510404?pr=842#step:5:183