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

Error when running the Urban Growth Model #121

Open
whitbern opened this issue Apr 19, 2024 · 1 comment
Open

Error when running the Urban Growth Model #121

whitbern opened this issue Apr 19, 2024 · 1 comment
Labels

Comments

@whitbern
Copy link

When I try to run the scripts in Jupyter Notebook for the Urban Growth Model, I get an error having to do with the UrbanCell class--see the screenshot:
UrbanGrowthError

I ran the space.py text first in Jupyter; then when I tried to import parts of the model script, and %run UrbanGrowthSpace.ipynb, it threw an error. Is this because the class name shares a name with one of the attributes?

UrbanCell

I really appreciate any help you can provide. Sorry if this is confusing.

@wang-boyu wang-boyu added the gis label Jun 11, 2024
@wang-boyu
Copy link
Member

Yes I don't think you can use a class within itself

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

No branches or pull requests

2 participants