Skip to content

Commit

Permalink
fix: rename id to stratigraphy for model block
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed May 31, 2024
1 parent 8343bc6 commit 640ac0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion LoopStructural/modelling/core/geological_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1807,5 +1807,7 @@ def get_stratigraphic_surfaces(self, units: List[str] = [], bottoms: bool = True
def get_block_model(self):
grid = self.bounding_box.vtk

grid.cell_data['id'] = self.evaluate_model(self.bounding_box.cell_centers(), scale=False)
grid.cell_data['stratigraphy'] = self.evaluate_model(
self.bounding_box.cell_centers(), scale=False
)
return grid, self.stratigraphic_ids()

0 comments on commit 640ac0b

Please sign in to comment.