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

docs(examples): move geometry data to yml file, inline utilities #2264

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

wpbonelli
Copy link
Member

Small step towards #1872. Move geometry info to a YAML file under examples/data/ and move utils into scripts to remove common/ module import and sys.path manipulation. A later PR may introduce pooch as we have done for the mf6 examples:

@wpbonelli wpbonelli marked this pull request as ready for review July 10, 2024 15:42
@wpbonelli wpbonelli merged commit 9400d42 into modflowpy:develop Jul 10, 2024
26 checks passed
@wpbonelli wpbonelli deleted the examples branch July 10, 2024 15:47
wpbonelli added a commit to wpbonelli/flopy that referenced this pull request Aug 8, 2024
modflowpy#2264 removed the  module but neglected to remove this dependency from 3 examples
wpbonelli added a commit to wpbonelli/flopy that referenced this pull request Aug 8, 2024
modflowpy#2264 removed the notebook_utils.py module but neglected to remove this dependency from 3 examples
wpbonelli added a commit that referenced this pull request Aug 8, 2024
#2264 removed the notebook_utils.py module but neglected to remove this dependency from 3 examples:

* export_vtk_tutorial.py
* plot_cross_section_example.py
* plot_map_view_example.py

This is why these are missing from the develop version of the RTD site.

This PR inlines the shared models which previously lived in notebook_utils.py. This duplication will go away once we have a models API as proposed in #1872.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant