Skip to content

Commit f009a9e

Browse files
committed
More tests
1 parent 872484b commit f009a9e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

app.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from stpyvista.utils import start_xvfb
1515

1616
if "IS_XVFB_RUNNING" not in st.session_state:
17+
print("Starting XVFB...")
1718
start_xvfb()
1819
st.session_state.IS_XVFB_RUNNING = True
1920

@@ -31,7 +32,7 @@
3132
plotter = pv.Plotter()
3233

3334

34-
# add_neuroml_model(plotter, somas_only=True)
35+
add_neuroml_model(plotter, somas_only=True)
3536

3637
sphere = pv.Sphere(end_theta=90)
3738
plotter.add_mesh(sphere)
@@ -42,8 +43,9 @@
4243
print("Created the scene...")
4344

4445
if st_mode:
45-
## Pass a key to avoid re-rendering at each page change
46+
##
4647
if True:
48+
print('Pass a key to avoid re-rendering at each page change')
4749
from stpyvista import stpyvista
4850

4951
stpyvista(plotter, key="pv_cube")

0 commit comments

Comments
 (0)