GEOPY-2143: ensure backward compatibility of saved ui.json from Analyst 4.5 to 4.6#211
GEOPY-2143: ensure backward compatibility of saved ui.json from Analyst 4.5 to 4.6#211domfournier merged 14 commits intorelease/0.3.0from
Conversation
sebhmg
left a comment
There was a problem hiding this comment.
nice to have this!
But... what is the fix which make them backward compatible? I thought there was a problem to address beyond having tests.
Also, the legacy ui.json files must be moved under the test folder.
Please see a couple of other questions.
| cell_size=cell_size, | ||
| refinement=refinement, | ||
| inversion_type="airborne_tem 1d", | ||
| inversion_type="airborne tdem 1d", |
There was a problem hiding this comment.
question: is it changing back to the legacy inversion type?
or it this one the new one, which was already backward compatibly?
There was a problem hiding this comment.
I made this helper function to use the same strings as stored on geoh5, so that the test for the legacy uijson can build the demos directly. These were hardcoded before.
The airborne tdem 1d is new to 0.3.0, so not part of legacy.
Co-authored-by: Sébastien Hensgen <sebastienh@mirageoscience.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/0.3.0 #211 +/- ##
=================================================
+ Coverage 90.36% 90.46% +0.09%
=================================================
Files 86 85 -1
Lines 5107 4927 -180
Branches 657 636 -21
=================================================
- Hits 4615 4457 -158
+ Misses 329 308 -21
+ Partials 163 162 -1
🚀 New features to boost your workflow:
|
This test confirms that all legacy (0.2.0) jsons are already compatible with 0.3.0 - at least running defaults with core parameters. We will continue testing going forward to make sure that future changes will preserve the compatibility. |
GEOPY-2143 - ensure backward compatibility of saved ui.json from Analyst 4.5 to 4.6