Skip to content

Commit 22f2ba0

Browse files
authored
Merge pull request #237 from Geode-solutions/fix/geode_objects
fix(geode_objects): fix Vease-Modeling-Back tests with missing classes
2 parents c098589 + 92862a8 commit 22f2ba0

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@ werkzeug==3.1.2
6060
# flask
6161
# flask-cors
6262

63-
opengeodeweb-microservice==1.*,>=1.1.1

src/opengeodeweb_back/geode_objects/geode_cross_section.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,6 @@ def save_light_viewable(self, filename_without_extension: str) -> str:
7373
return viewables.save_light_viewable_cross_section(
7474
self.cross_section, filename_without_extension
7575
)
76+
77+
def component_name(self, id: og.uuid) -> str | None:
78+
return self.cross_section.cross_section_component(id).name()

src/opengeodeweb_back/geode_objects/geode_structural_model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,6 @@ def save_light_viewable(self, filename_without_extension: str) -> str:
7575
return viewables.save_light_viewable_structural_model(
7676
self.structural_model, filename_without_extension
7777
)
78+
79+
def component_name(self, id: og.uuid) -> str | None:
80+
return self.structural_model.structural_model_component(id).name()

0 commit comments

Comments
 (0)