Skip to content

GEOPY-2875: Default color stretch to log with resistivity colormap for conductivity models - #516

Merged
domfournier merged 9 commits into
release/ga-4.9from
GEOPY-2875
Nov 23, 2026
Merged

domfournier merged 9 commits into
release/ga-4.9from
GEOPY-2875

Conversation

@domfournier

@domfournier domfournier commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

GEOPY-2875 - Default color stretch to log with resistivity colormap for conductivity models

Copilot AI balanced review requested due to automatic review settings November 19, 2026 20:51
@github-actions github-actions Bot changed the title GEOPY-2875 GEOPY-2875: Default color stretch to log with resistivity colormap for conductivity models Nov 19, 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.

🟡 Changes recommended

Unconditional logarithmic colouring mishandles valid zero or negative model values, while conductivity/resistivity outputs still lack the intended resistivity colour map and orientation.

2 open issues
What changed in this PR

Updates geoh5 output display settings as part of GEOPY-2875’s work on logarithmic colouring and resistivity colour maps for conductivity models.

Changes:

  • Adds logarithmic display attributes to saved models, sensitivities, and apparent-resistivity outputs.
  • Switches the Pixi SimPEG dependency to the GEOPY-2875 branch and locks its resolved commit.
  • Updates the Ruff pre-commit hook to v0.17.6.
File Description
simpeg_drivers/​components/​factories/​directives_factory.py Adds logarithmic display metadata to output directives.
pixi.toml Selects the SimPEG feature branch.
pixi.lock Records the resolved SimPEG commit across environments and refreshes package metadata.
.pre-commit-config.yaml Updates the Ruff hook version.

Review effort: Balanced

@codecov

codecov Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.51%. Comparing base (31b08e1) to head (49775c0).
⚠️ Report is 10 commits behind head on release/ga-4.9.

Additional details and impacted files
@@               Coverage Diff               @@
##           release/ga-4.9     #516   +/-   ##
===============================================
  Coverage           90.50%   90.51%           
===============================================
  Files                 111      111           
  Lines                7132     7134    +2     
  Branches              890      890           
===============================================
+ Hits                 6455     6457    +2     
  Misses                456      456           
  Partials              221      221           
Files with missing lines Coverage Δ
...drivers/components/factories/directives_factory.py 95.97% <100.00%> (+0.02%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

benk-mira
benk-mira previously approved these changes Nov 19, 2026
@domfournier
domfournier merged commit c292e28 into release/ga-4.9 Nov 23, 2026
13 of 15 checks passed
@domfournier
domfournier deleted the GEOPY-2875 branch November 23, 2026 22:02
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