linkagescape / linkage-mapper

ArcGIS tools to automate mapping and prioritization of wildlife habitat corridors
https://circuitscape.org/linkagemapper/
GNU General Public License v3.0
39 stars 12 forks source link

Linkage Pathways tool crashes in ArcGIS Pro with TypeError #117

Closed dkav closed 3 years ago

dkav commented 3 years ago
Failed to execute outras = arcpy.sa.Int(arcpy.sa.Raster(mosaicRaster) - offset + 0.5); outras.save(intRaster) on try #1.
---------------------------------
Python error on **line 2042** of lm_util.py in Linkage Mapper Version 3.0.0-beta.4:
TypeError: '>' not supported between instances of 'function' and 'int'
dkav commented 3 years ago

Similar error reported by Jonathan Carruthers-Jones.

Failed to execute comb_ras = arcpy.sa.Combine([alloc, alloc_sh]); comb_ras.save(combine_ras) on try #1
---------------------------------
Python error on **line 2047** of lm_util.py in Linkage Mapper Version 3.0.0-beta.3:
TypeError: '>' not supported between instances of 'function' and 'int'
---------------------------------