Skip to content

Commit dacae35

Browse files
authored
Merge pull request #98 from Geode-solutions/fix/remove_gpu_and_cpu_modes
fix(Extra): remove gpu & cpu mode, auto handled by vtk
2 parents a9ee392 + d313a0c commit dacae35

File tree

11 files changed

+48
-72
lines changed

11 files changed

+48
-72
lines changed

mypy.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[mypy]
22
strict = True
3-
files = src/
3+
files = src/
4+
disallow_untyped_decorators = False

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ classifiers = [
1919
"Operating System :: OS Independent",
2020
]
2121

22-
[project.optional-dependencies]
23-
gpu = ["vtk == 9.3.1"]
24-
cpu = ["vtk-osmesa == 9.3.1"]
25-
2622
[project.urls]
2723
"Homepage" = "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer"
2824
"Bug Tracker" = "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer/issues"

requirements.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
wslink==1.12.4
2-
websocket_client==1.8.0
2+
websocket_client==1.8.0
3+
vtk==9.5.2

requirements.txt

Lines changed: 38 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -2,82 +2,61 @@
22
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
5-
# pip-compile --output-file=requirements.txt --pre requirements-internal.in requirements.in
5+
# pip-compile --output-file=./requirements.txt --pre ./requirements.in
66
#
7-
aiohappyeyeballs==2.6.1
7+
aiohappyeyeballs==2.*,>=2.6.1
88
# via aiohttp
9-
aiohttp==3.12.15
9+
aiohttp==3.*,>=3.12.15
1010
# via wslink
11-
aiosignal==1.4.0
11+
aiosignal==1.*,>=1.4.0
1212
# via aiohttp
13-
attrs==25.3.0
13+
attrs==25.*,>=25.3.0
1414
# via aiohttp
15-
blinker==1.9.0
16-
# via
17-
# flask
18-
# opengeodeweb-microservice
19-
click==8.3.0
20-
# via
21-
# flask
22-
# opengeodeweb-microservice
23-
fastjsonschema==2.21.1
24-
# via opengeodeweb-microservice
25-
flask==3.1.2
26-
# via
27-
# flask-sqlalchemy
28-
# opengeodeweb-microservice
29-
flask-sqlalchemy==3.1.1
30-
# via opengeodeweb-microservice
31-
frozenlist==1.7.0
15+
contourpy==1.*,>=1.3.3
16+
# via matplotlib
17+
cycler==0.*,>=0.12.1
18+
# via matplotlib
19+
fonttools==4.*,>=4.60.1
20+
# via matplotlib
21+
frozenlist==1.*,>=1.7.0
3222
# via
3323
# aiohttp
3424
# aiosignal
35-
greenlet==3.2.4
36-
# via
37-
# opengeodeweb-microservice
38-
# sqlalchemy
3925
idna==3.10
4026
# via yarl
41-
itsdangerous==2.2.0
42-
# via
43-
# flask
44-
# opengeodeweb-microservice
45-
jinja2==3.1.6
46-
# via
47-
# flask
48-
# opengeodeweb-microservice
49-
markupsafe==3.0.2
50-
# via
51-
# flask
52-
# jinja2
53-
# opengeodeweb-microservice
54-
# werkzeug
55-
multidict==6.6.4
27+
kiwisolver==1.*,>=1.4.10rc0
28+
# via matplotlib
29+
matplotlib==3.*,>=3.10.6
30+
# via vtk
31+
multidict==6.*,>=6.6.4
5632
# via
5733
# aiohttp
5834
# yarl
59-
opengeodeweb-microservice==1.*,>=1.0.1rc1
60-
# via -r requirements-internal.in
61-
propcache==0.3.2
35+
numpy==2.*,>=2.3.3
36+
# via
37+
# contourpy
38+
# matplotlib
39+
packaging==25.0
40+
# via matplotlib
41+
pillow==11.*,>=11.3.0
42+
# via matplotlib
43+
propcache==0.*,>=0.3.2
6244
# via
6345
# aiohttp
6446
# yarl
65-
sqlalchemy==2.0.43
66-
# via
67-
# flask-sqlalchemy
68-
# opengeodeweb-microservice
69-
typing-extensions==4.15.0
70-
# via
71-
# aiosignal
72-
# opengeodeweb-microservice
73-
# sqlalchemy
74-
websocket-client==1.8.0
47+
pyparsing==3.*,>=3.3.0a1
48+
# via matplotlib
49+
python-dateutil==2.9.*,>=2.9.0.post0
50+
# via matplotlib
51+
six==1.*,>=1.17.0
52+
# via python-dateutil
53+
typing-extensions==4.*,>=4.15.0
54+
# via aiosignal
55+
vtk==9.5.2
56+
# via -r requirements.in
57+
websocket-client==1.*,>=1.8.0
7558
# via -r requirements.in
76-
werkzeug==3.1.3
77-
# via
78-
# flask
79-
# opengeodeweb-microservice
8059
wslink==1.12.4
8160
# via -r requirements.in
82-
yarl==1.20.1
61+
yarl==1.*,>=1.20.1
8362
# via aiohttp

src/opengeodeweb_viewer/object/object_methods.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ def SetPointsVisibility(self, id, visibility):
134134
self.SetVisibility(id, visibility)
135135
else:
136136
actor.GetProperty().SetVertexVisibility(visibility)
137-
actor.GetProperty().SetEdgeVisibility(visibility)
138137
self.render()
139138

140139
def SetPointsSize(self, id, size):
-1.59 KB
Loading
-2.37 KB
Loading
-3.44 KB
Loading
-13.6 KB
Loading
-18.8 KB
Loading

0 commit comments

Comments
 (0)