Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinchpoint Mapper - NameError: name 'Raster' is not defined #171

Open
miistakis opened this issue Mar 22, 2023 · 2 comments
Open

Pinchpoint Mapper - NameError: name 'Raster' is not defined #171

miistakis opened this issue Mar 22, 2023 · 2 comments

Comments

@miistakis
Copy link

Trying to run Pinchpoint Mapper in LM 3.0.0 in ArcMap 1.8.1 and tried in Pro 2.8.0 as well.

Both have the same error when I run Pinchpoint Mapper:

Python error on line 129 of s8_pinchpoints.py in Linkage Mapper Version 3.0.0:
NameError: name 'Raster' is not defined

Which is: outRas = Raster(resRaster) * Raster(resRaster)

Why is it not finding the function? resRaster is successfully referenced on line 61 without error, so I assume its fine.

Thoughts?

@johngallo
Copy link
Member

johngallo commented Mar 22, 2023 via email

@miistakis
Copy link
Author

Thanks for the response. The 3.1.0 beta version toolbox has gotten me past the error at s8, its chugging away now.

I assume I do not need to rerun the original corridor creation that I did with 3.0.0?

Do you still want the log file for 3.0.0 fail?

Thanks again, much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants