Skip to content

refactor: extract FeatureRelationshipManager from GeologicalModel - #307

Open
lachlangrose wants to merge 1 commit into
split/07-extract-model-exporterfrom
split/08-extract-feature-relationship-manager
Open

refactor: extract FeatureRelationshipManager from GeologicalModel#307
lachlangrose wants to merge 1 commit into
split/07-extract-model-exporterfrom
split/08-extract-feature-relationship-manager

Conversation

@lachlangrose

Copy link
Copy Markdown
Member

Split out of #298 / #299. PR 8 of 9 in the stack — depends on #306.

Third of four sequential extractions. Moves feature-relationship bookkeeping out of geological_model.py into a new _model_relationships.py.

Move fault/unconformity relationship bookkeeping (_add_faults,
_add_domain_fault_above/below, _add_unconformity_above,
add_unconformity, add_onlap_unconformity) into a standalone
FeatureRelationshipManager, continuing the GeologicalModel
decomposition. Public methods remain unchanged thin wrappers;
_add_feature stays on GeologicalModel since it owns
features/feature_name_index mutation directly.

(cherry picked from commit b7f2197)
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.

1 participant