fix: add an observer/notify datastructure #260
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request removes outdated configuration files and Dockerfiles, introduces a new
FaultTopologyclass for managing fault relationships, and enhances theStratigraphicColumnclass with observable functionality and additional methods for managing stratigraphic units and relationships. It also includes minor code cleanup and logging improvements.Removal of legacy files:
.flake8: Removed the file, which previously set max line length and ignored specific warnings.DockerfileandDockerfileDev: Removed both files, which contained outdated configurations for building Docker images. [1] [2]New
FaultTopologyclass:LoopStructural/modelling/core/fault_topology.py: Added theFaultTopologyclass to represent fault relationships and their interactions with stratigraphic units. It includes methods for adding, updating, and querying fault relationships and stratigraphy-fault relationships.Enhancements to
StratigraphicColumn:LoopStructural/modelling/core/stratigraphic_column.py:StratigraphicColumnan observable class, enabling notifications for changes like adding or removing units, updating order, and clearing the column. [1] [2] [3] [4] [5] [6] [7]Code cleanup and logging improvements:
LoopStructural/__init__.py: Imported the newFaultTopologyclass.LoopStructural/interpolators/_geological_interpolator.py: Simplified a logging statement inset_normal_constraints.