Skip to content

GEOPY-2731: Replace InputFile for BaseUIJson class - #83

Open
domfournier wants to merge 19 commits into
feature/uijsonfrom
GEOPY-2731
Open

GEOPY-2731: Replace InputFile for BaseUIJson class#83
domfournier wants to merge 19 commits into
feature/uijsonfrom
GEOPY-2731

Conversation

@domfournier

@domfournier domfournier commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

GEOPY-2731 - Replace InputFile for BaseUIJson class

Copilot AI review requested due to automatic review settings July 28, 2026 21:44
@github-actions github-actions Bot changed the title GEOPY-2731 GEOPY-2731: Replace InputFile for BaseUIJson class Jul 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the test suite and dependency configuration to migrate from InputFile/BaseUIJson to the newer UIJson API (GEOPY-2731), aligning UI JSON read/write and parameter-building flows with the updated geoh5py/geoapps-utils interfaces.

Changes:

  • Replace InputFile/BaseUIJson usage in tests with UIJson.read(...) + set_values(...), and adjust Options.build(...) call sites accordingly.
  • Refactor test helper logic (e.g., move setup_block_model into tests/conftest.py) to reduce duplication.
  • Update pinned git dependency refs and regenerate conda lock files.

Reviewed changes

Copilot reviewed 24 out of 24 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/run_tests/octree_creation/run_test.py Adjust octree diagonal-balance test parameter serialization and UIJson-driven output lookup.
tests/run_tests/octree_creation/params_test.py Migrate octree params tests from InputFile/BaseUIJson to UIJson.
tests/run_tests/grid_model_merger_test.py Deduplicate block model setup by importing shared helper.
tests/run_tests/block_2_octree_test.py Switch UI JSON reader to UIJson in block-model-to-octree tests.
tests/parameters_test.py Use UIJson for block model options construction in parameter tests.
tests/conftest.py Add shared setup_block_model helper for reuse across tests.
pyproject.toml Point geoh5py and geoapps-utils to the feature/uijson branch.
grid_apps/block_models/driver.py Remove outdated docstring reference to InputFile.
grid_apps-assets/uijson/block_models.ui.json Remove one meshType UUID from the allowed objects.meshType list.
environments/*.conda.lock.yml Regenerate lockfiles to reflect dependency/ref updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/run_tests/octree_creation/run_test.py
Comment thread pyproject.toml
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

Successfully merging this pull request may close these issues.

2 participants