Skip to content

Commit 1942d2f

Browse files
fix
1 parent 5a08ae1 commit 1942d2f

File tree

1 file changed

+0
-2
lines changed
  • backend_py/primary/primary/services/sumo_access/queries

1 file changed

+0
-2
lines changed

backend_py/primary/primary/services/sumo_access/queries/grid3d.py

-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ async def try_query_with_field(field: GridPropertyField) -> Tuple[Optional[str],
110110
# Try with tagname first
111111
grid_geometry_id, grid_property_id = await try_query_with_field(GridPropertyField.TAGNAME)
112112

113-
if grid_geometry_id is None:
114-
raise InvalidDataError("Did not find expected document types", service=Service.SUMO)
115113
# If no results, try with geometry.name
116114
if grid_property_id is None:
117115
grid_geometry_id, grid_property_id = await try_query_with_field(GridPropertyField.GEOMETRY_NAME)

0 commit comments

Comments
 (0)