nextgis / qgis_molusce

Modules for Land Use Change Simulations
https://github.com/nextgis/molusce
GNU General Public License v2.0
40 stars 14 forks source link

Area Changes error #41

Open sultanbolat opened 3 years ago

sultanbolat commented 3 years ago

Hello, When I use 'molusce' plugin I get the following error in the area changes section and I do not know how to fix this. If you could help me that would be great!

Traceback (most recent call last): File "C:/Users/Sultan/.qgis2/python/plugins\molusce\moluscedialog.py", line 444, in updateStatisticsTableDone self.drawTransitionStat() File "C:/Users/Sultan/.qgis2/python/plugins\molusce\moluscedialog.py", line 1058, in drawTransitionStat stat = self.inputs["crosstab"].getTransitionStat() File "C:/Users/Sultan/.qgis2/python/plugins\molusce\algorithms\models\crosstabs\manager.py", line 79, in getTransitionStat initArea = tab.getSumRows() File "C:/Users/Sultan/.qgis2/python/plugins\molusce\algorithms\models\crosstabs\model.py", line 125, in getSumRows crosstable = self.getCrosstable() File "C:/Users/Sultan/.qgis2/python/plugins\molusce\algorithms\models\crosstabs\model.py", line 86, in getCrosstable if self._T == None: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

FajrAlim commented 3 years ago

I got the same error while creating the Area Changes.

salsabeeeel commented 2 years ago

I'm getting the same error, did anyone get the solution for this?

EvaldoSimoes commented 2 years ago

Please, did anyone get the solution for this?