Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[mypy]
strict = True
files = src/
files = src/
disallow_untyped_decorators = False
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ classifiers = [
"Operating System :: OS Independent",
]

[project.optional-dependencies]
gpu = ["vtk == 9.3.1"]
cpu = ["vtk-osmesa == 9.3.1"]

[project.urls]
"Homepage" = "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer"
"Bug Tracker" = "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer/issues"
Expand Down
3 changes: 2 additions & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
wslink==1.12.4
websocket_client==1.8.0
websocket_client==1.8.0
vtk==9.5.2
97 changes: 38 additions & 59 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,82 +2,61 @@
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --output-file=requirements.txt --pre requirements-internal.in requirements.in
# pip-compile --output-file=./requirements.txt --pre ./requirements.in
#
aiohappyeyeballs==2.6.1
aiohappyeyeballs==2.*,>=2.6.1
# via aiohttp
aiohttp==3.12.15
aiohttp==3.*,>=3.12.15
# via wslink
aiosignal==1.4.0
aiosignal==1.*,>=1.4.0
# via aiohttp
attrs==25.3.0
attrs==25.*,>=25.3.0
# via aiohttp
blinker==1.9.0
# via
# flask
# opengeodeweb-microservice
click==8.3.0
# via
# flask
# opengeodeweb-microservice
fastjsonschema==2.21.1
# via opengeodeweb-microservice
flask==3.1.2
# via
# flask-sqlalchemy
# opengeodeweb-microservice
flask-sqlalchemy==3.1.1
# via opengeodeweb-microservice
frozenlist==1.7.0
contourpy==1.*,>=1.3.3
# via matplotlib
cycler==0.*,>=0.12.1
# via matplotlib
fonttools==4.*,>=4.60.1
# via matplotlib
frozenlist==1.*,>=1.7.0
# via
# aiohttp
# aiosignal
greenlet==3.2.4
# via
# opengeodeweb-microservice
# sqlalchemy
idna==3.10
# via yarl
itsdangerous==2.2.0
# via
# flask
# opengeodeweb-microservice
jinja2==3.1.6
# via
# flask
# opengeodeweb-microservice
markupsafe==3.0.2
# via
# flask
# jinja2
# opengeodeweb-microservice
# werkzeug
multidict==6.6.4
kiwisolver==1.*,>=1.4.10rc0
# via matplotlib
matplotlib==3.*,>=3.10.6
# via vtk
multidict==6.*,>=6.6.4
# via
# aiohttp
# yarl
opengeodeweb-microservice==1.*,>=1.0.1rc1
# via -r requirements-internal.in
propcache==0.3.2
numpy==2.*,>=2.3.3
# via
# contourpy
# matplotlib
packaging==25.0
# via matplotlib
pillow==11.*,>=11.3.0
# via matplotlib
propcache==0.*,>=0.3.2
# via
# aiohttp
# yarl
sqlalchemy==2.0.43
# via
# flask-sqlalchemy
# opengeodeweb-microservice
typing-extensions==4.15.0
# via
# aiosignal
# opengeodeweb-microservice
# sqlalchemy
websocket-client==1.8.0
pyparsing==3.*,>=3.3.0a1
# via matplotlib
python-dateutil==2.9.*,>=2.9.0.post0
# via matplotlib
six==1.*,>=1.17.0
# via python-dateutil
typing-extensions==4.*,>=4.15.0
# via aiosignal
vtk==9.5.2
# via -r requirements.in
websocket-client==1.*,>=1.8.0
# via -r requirements.in
werkzeug==3.1.3
# via
# flask
# opengeodeweb-microservice
wslink==1.12.4
# via -r requirements.in
yarl==1.20.1
yarl==1.*,>=1.20.1
# via aiohttp
1 change: 0 additions & 1 deletion src/opengeodeweb_viewer/object/object_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ def SetPointsVisibility(self, id, visibility):
self.SetVisibility(id, visibility)
else:
actor.GetProperty().SetVertexVisibility(visibility)
actor.GetProperty().SetEdgeVisibility(visibility)
self.render()

def SetPointsSize(self, id, size):
Expand Down
Binary file modified src/tests/data/images/mesh/points/color.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/tests/data/images/mesh/points/size.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/tests/data/images/mesh/points/visibility.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/tests/data/images/model/points/size.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/tests/data/images/model/points/visibility.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions src/tests/mesh/points/test_mesh_points_protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def test_points_with_point_set(server):
)
assert server.compare_image(3, "mesh/points/point_set_color.jpeg") == True

server.call(
VtkMeshPointsView.mesh_points_prefix
+ VtkMeshPointsView.mesh_points_schemas_dict["visibility"]["rpc"],
[{"id": "123456789", "visibility": False}],
)
assert server.compare_image(3, "mesh/points/point_set_visibility.jpeg") == True
# server.call(
# VtkMeshPointsView.mesh_points_prefix
# + VtkMeshPointsView.mesh_points_schemas_dict["visibility"]["rpc"],
# [{"id": "123456789", "visibility": False}],
# )
# assert server.compare_image(3, "mesh/points/point_set_visibility.jpeg") == True