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

Exercise: Step 3 break out the context map initialization #3

Open
pberkes opened this issue Aug 30, 2023 · 0 comments
Open

Exercise: Step 3 break out the context map initialization #3

pberkes opened this issue Aug 30, 2023 · 0 comments

Comments

@pberkes
Copy link
Contributor

pberkes commented Aug 30, 2023

  • Move the context map initialization to 3 functions in a separate context_maps.py module
  • Modify the constructor of Walker to take a context_map array instead of a map_type
  • Modify the notebook to use the new code

Remember to reload the notebook kernel when you modify the code in you modules, as modules are cached during the first import and changes would not be visible.

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

1 participant