Skip to content

Commit 640ac0b

Browse files
committed
fix: rename id to stratigraphy for model block
1 parent 8343bc6 commit 640ac0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

LoopStructural/modelling/core/geological_model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1807,5 +1807,7 @@ def get_stratigraphic_surfaces(self, units: List[str] = [], bottoms: bool = True
18071807
def get_block_model(self):
18081808
grid = self.bounding_box.vtk
18091809

1810-
grid.cell_data['id'] = self.evaluate_model(self.bounding_box.cell_centers(), scale=False)
1810+
grid.cell_data['stratigraphy'] = self.evaluate_model(
1811+
self.bounding_box.cell_centers(), scale=False
1812+
)
18111813
return grid, self.stratigraphic_ids()

0 commit comments

Comments
 (0)