Skip to content

GEOPY-196: geoh5py mesh object origin should return a list - #93

Merged
domfournier merged 3 commits into
developfrom
GEOPY-196
Sep 22, 2026
Merged

domfournier merged 3 commits into
developfrom
GEOPY-196

Conversation

@domfournier

@domfournier domfournier commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

GEOPY-196 - geoh5py mesh object origin should return a list

Copilot AI lite review requested due to automatic review settings September 21, 2026 22:20
@github-actions github-actions Bot changed the title GEOPY-196 GEOPY-196: geoh5py mesh object origin should return a list Sep 21, 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.

Copilot review overview

🟡 Changes recommended

Critical origin-handling issues remain unresolved in conversion, tests, and the block-model driver.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 3 High severity

Open (3)
What changed in this PR

Updates geoh5py mesh-origin handling from keyed mappings to list-based sequences across utilities and tests.

Changes:

  • Replaces string-key origin access with positional indexing.
  • Updates mesh conversion and related test expectations.
  • Critical follow-up changes remain required for origin conversion, assertions, and block-model driver handling.
File Summary
tests/​run_tests/​octree_creation/​run_test.py Uses positional origin access.
tests/​run_tests/​grid_model_merger_test.py Updates mesh-origin assertions and copying.
tests/​run_tests/​block_model_test.py Updates block-model origin checks.
grid_apps/​utils.py Migrates origin handling; critical issues remain in octree conversion (2 votes), octree-origin assertions (3 votes), and block-model driver compatibility (3 votes).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread grid_apps/utils.py
Comment on lines +40 to +41
origin = (
entity.origin
Comment thread grid_apps/utils.py
cell_size = []
cell_count = []
dimensions = []
origin = mesh.origin
Comment thread grid_apps/utils.py
cell_size = []
cell_count = []
dimensions = []
origin = mesh.origin

@benk-mira benk-mira 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.

fix up copilot

@domfournier
domfournier merged commit 4d42970 into develop Sep 22, 2026
21 checks passed
@domfournier
domfournier deleted the GEOPY-196 branch September 22, 2026 19:08
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.

3 participants