Skip to content

Refactor contact extraction methods #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: v3.3.0
Choose a base branch
from

Conversation

rabii-chaarani
Copy link
Member

@rabii-chaarani rabii-chaarani commented Jul 2, 2025

Summary

  • add new ContactExtractor class for contact extraction
  • use ContactExtractor from project and wrapper modules
  • update tests to cover ContactExtractor
  • skip Hamersley test if remote data fails

@rabii-chaarani rabii-chaarani marked this pull request as ready for review July 4, 2025 01:22
@rabii-chaarani rabii-chaarani changed the base branch from qgis/sampler to v3.3.0 July 4, 2025 01:24
@rabii-chaarani rabii-chaarani self-assigned this Jul 4, 2025
@rabii-chaarani rabii-chaarani changed the base branch from v3.3.0 to qgis/sampler July 4, 2025 01:29
geology = simple_geology()
extractor = ContactExtractor(geology, None)
contacts = extractor.extract_all_contacts()
basal = extractor.extract_basal_contacts(["A", "B"], contacts=contacts)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just this line, parameter should be passed as boolean named save_contacts

@rabii-chaarani rabii-chaarani changed the base branch from qgis/sampler to v3.3.0 July 9, 2025 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants