[X] I have searched existing issues to make sure a similar issue does not exist
What is the bug or the crash?
When changing from mg to kg prior to accumulation, we didn't change the name of the accumulated file needed to calculate concentration.
Steps to reproduce the issue
Open Run Pollution Analysis
Run with any pollutant, and check the "Output Concetration Rasters"
Execute, will get failure with message similar to:
Traceback (most recent call last):
File "C:\Users/davee/AppData/Roaming/QGIS/QGIS3\profiles\dev/python/plugins\QNSPECT\algorithms\run_analysis\run_pollution_analysis.py", line 447, in processAlgorithm
"input_a": outputs[pol + "accum_mg"]["OUTPUT"],
KeyError: 'Leadaccum_mg'
Execution failed after 50.03 seconds
Screenshots and Attachements
No response
Versions
QGIS version
3.24.1-Tisler
QGIS code revision
5709b82461
Qt version
5.15.2
Python version
3.9.5
GDAL/OGR version
3.4.2
PROJ version
9.0.0
EPSG Registry database version
v10.054 (2022-02-13)
GEOS version
3.10.2-CAPI-1.16.0
SQLite version
3.38.1
PDAL version
2.3.0
PostgreSQL client version
unknown
SpatiaLite version
5.0.1
QWT version
6.1.3
QScintilla2 version
2.11.5
OS version
Windows 10 Version 2009
Latest QNSPECT version
Similar issues do not exist
What is the bug or the crash?
When changing from mg to kg prior to accumulation, we didn't change the name of the accumulated file needed to calculate concentration.
Steps to reproduce the issue
Open Run Pollution Analysis Run with any pollutant, and check the "Output Concetration Rasters" Execute, will get failure with message similar to: Traceback (most recent call last): File "C:\Users/davee/AppData/Roaming/QGIS/QGIS3\profiles\dev/python/plugins\QNSPECT\algorithms\run_analysis\run_pollution_analysis.py", line 447, in processAlgorithm "input_a": outputs[pol + "accum_mg"]["OUTPUT"], KeyError: 'Leadaccum_mg'
Execution failed after 50.03 seconds
Screenshots and Attachements
No response
Versions
QGIS version 3.24.1-Tisler QGIS code revision 5709b82461 Qt version 5.15.2 Python version 3.9.5 GDAL/OGR version 3.4.2 PROJ version 9.0.0 EPSG Registry database version v10.054 (2022-02-13) GEOS version 3.10.2-CAPI-1.16.0 SQLite version 3.38.1 PDAL version 2.3.0 PostgreSQL client version unknown SpatiaLite version 5.0.1 QWT version 6.1.3 QScintilla2 version 2.11.5 OS version Windows 10 Version 2009
Active Python plugins curve_number_generator 1.3 daves_proc 0.1 debug_vs 0.7 pluginbuilder3 3.2.1 plugin_reloader 0.9.1 valuetool 3.0.15 db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99 sagaprovider 2.12.99 QNSPECT 0.1
Additional context
Bug fix is done, pull request coming