Skip to content

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

Merged
domfournier merged 19 commits into
feature/uijsonfrom
GEOPY-2731
Aug 4, 2026
Merged

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

Conversation

@domfournier

@domfournierdomfournier commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

GEOPY-2731 - Replace InputFile for BaseUIJson class

CopilotAI review requested due to automatic review settings July 28, 2026 21:44
@github-actionsgithub-actionsBot changed the title GEOPY-2731GEOPY-2731: Replace InputFile for BaseUIJson classJul 28, 2026

CopilotAI 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
FileDescription
tests/run_tests/octree_creation/run_test.pyAdjust octree diagonal-balance test parameter serialization and UIJson-driven output lookup.
tests/run_tests/octree_creation/params_test.pyMigrate octree params tests from InputFile/BaseUIJson to UIJson.
tests/run_tests/grid_model_merger_test.pyDeduplicate block model setup by importing shared helper.
tests/run_tests/block_2_octree_test.pySwitch UI JSON reader to UIJson in block-model-to-octree tests.
tests/parameters_test.pyUse UIJson for block model options construction in parameter tests.
tests/conftest.pyAdd shared setup_block_model helper for reuse across tests.
pyproject.tomlPoint geoh5py and geoapps-utils to the feature/uijson branch.
grid_apps/block_models/driver.pyRemove outdated docstring reference to InputFile.
grid_apps-assets/uijson/block_models.ui.jsonRemove one meshType UUID from the allowed objects.meshType list.
environments/*.conda.lock.ymlRegenerate lockfiles to reflect dependency/ref updates.

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

Comment threadtests/run_tests/octree_creation/run_test.py
Comment threadpyproject.toml
@domfournier
domfournier merged commit 753b25b into feature/uijsonAug 4, 2026
18 checks passed
@domfournier
domfournier deleted the GEOPY-2731 branch August 4, 2026 19:51
Sign up for freeto 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.

3 participants

@domfournier@benk-mira