Skip to content

Conversation

@magnesj
Copy link
Member

@magnesj magnesj commented Jan 12, 2026

Improves the organization of ensemble surfaces in the project tree.

Closes #13338
Related to #13331

Explicitly invoke RimSurfaceCollection::addSurface when adding
statistic surfaces in RimEnsembleSurface's constructor. This
clarifies method resolution and ensures the correct base class
implementation is used.
@magnesj magnesj force-pushed the improve-ensemble-surface-import branch from af52d64 to 70d7386 Compare January 14, 2026 09:54
@magnesj magnesj marked this pull request as ready for review January 14, 2026 09:55
@magnesj magnesj requested a review from kriben January 14, 2026 09:55
@magnesj magnesj force-pushed the improve-ensemble-surface-import branch from 70d7386 to 6b3fa4d Compare January 14, 2026 10:05
Ensures that the depth property is correctly set for regular file surfaces after loading data. This allows the property to
be utilized as a depth value.
@magnesj magnesj force-pushed the improve-ensemble-surface-import branch from 6b3fa4d to 0eb980e Compare January 14, 2026 10:15
Comment on lines -71 to 74
with pytest.raises(rips.RipsError, match="Failed to set depth property."):
s.set_property_as_depth(name="non_existing_property")

with pytest.raises(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a way to keep this check? Setting it to a non-existing value is a programmer error, and it would be nice for the "scripter" to get a message.

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.

Import Surface Ensemble: Depth property is set to Fixed Depth when importing irap files

3 participants