Skip to content

refactor: extract FeatureRelationshipManager from GeologicalModel - #307

Merged
lachlangrose merged 1 commit into
split/07-extract-model-exporterfrom
split/08-extract-feature-relationship-manager
Aug 14, 2026
Merged

refactor: extract FeatureRelationshipManager from GeologicalModel#307
lachlangrose merged 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)
@lachlangrose
lachlangrose force-pushed the split/08-extract-feature-relationship-manager branch from c215c29 to dc2e5ec Compare August 14, 2026 11:29
@lachlangrose
lachlangrose merged commit c0aab67 into split/01-intrusions-fix Aug 14, 2026
1 check passed
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