Skip to content

Conversation

@rabii-chaarani
Copy link
Member

… MapData) (#222)

  • sampler

  • fix extract_geology_contacts

  • fix calculate_fault_orientations and summarise_fault_data

  • fix dtm data type

  • fix get_value_from_raster import

  • style: style fixes by ruff and autoformatting by black

  • revert get_value_from_raster

  • move dtm and geology data parameters from sample function to constructor

  • Refactor contact extraction

  • refactor: update related method calls

  • refactor: simplify extract_basal_contacts method signature and logic

  • refactor: streamline contact extraction

  • refactor: update basal contacts references to use contact extractor

  • refactor: remove unused import of ContactExtractor

  • refactor: update basal contacts plotting to use contact extractor

  • refactor: refactor map2model wrapper to topology module

  • refactor: replace map2model with topology

  • test: add unit tests for Topology

  • refactor: update tests

  • remove self.map_data from topology class

  • fix variable naming

  • fix private attribute in topology


Description

📝 Thanks for contributing to map2loop!
Please describe the issue that this pull request addresses and summarize the changes you are implementing.
Include relevant motivation and context, if appropriate.
List any new dependencies that are required for this change.

Fixes #(issue)

Type of change

  • Documentation update
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Test improvement

How Has This Been Tested?

Please describe any tests that you ran to verify your changes.
Provide branch name so we can reproduce.

Checklist:

  • This branch is up-to-date with master
  • All gh-action checks are passing
  • I have performed a self-review of my own code
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • My tests run with pytest from the map2loop folder
  • New and existing tests pass locally with my changes

Checklist continued (if PR includes changes to documentation)

  • I have built the documentation locally with make.bat
  • I have built this documentation in docker, following the docker configuration in map2loop/docs
  • I have checked my spelling and grammar

… MapData) (#222)

* sampler

* fix extract_geology_contacts

* fix calculate_fault_orientations and summarise_fault_data

* fix dtm data type

* fix get_value_from_raster import

* style: style fixes by ruff and autoformatting by black

* revert get_value_from_raster

* move dtm and geology data parameters from sample function to constructor

* Refactor contact extraction

* refactor: update related method calls

* refactor: simplify extract_basal_contacts method signature and logic

* refactor: streamline contact extraction

* refactor: update basal contacts references to use contact extractor

* refactor: remove unused import of ContactExtractor

* refactor: update basal contacts plotting to use contact extractor

* refactor: refactor map2model wrapper to topology module

* refactor: replace map2model with topology

* test: add unit tests for Topology

* refactor: update tests

* remove self.map_data from topology class

* fix variable naming

* fix private attribute in topology

---------

Co-authored-by: Noelle Cheng <noelle.cheng@monash.edu>
Co-authored-by: noellehmcheng <143368485+noellehmcheng@users.noreply.github.com>
@rabii-chaarani rabii-chaarani changed the title Refactor Map2ModelWarraper into Topology class (removed dependency to… 3.3.0 Jul 9, 2025
@rabii-chaarani rabii-chaarani marked this pull request as ready for review July 16, 2025 04:22
rabii-chaarani and others added 2 commits August 6, 2025 14:59
* refactor: remove MapData dependency from thickness calculators

* refactor: update initialisation of thickness calculator

* refactor: update tests

* fix parameters pass to value_from_raster in thickness calculator

* fix thickness calculator tests

---------

Co-authored-by: Noelle Cheng <noelle.cheng@monash.edu>
@rabii-chaarani rabii-chaarani merged commit 8590819 into master Aug 13, 2025
13 checks passed
rabii-chaarani added a commit that referenced this pull request Aug 13, 2025
This reverts commit 8590819.
@rabii-chaarani rabii-chaarani mentioned this pull request Aug 13, 2025
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