Conversation
UlysseDurand
left a comment
There was a problem hiding this comment.
Some markdown problems persist, I will see later.
I fixed some examples thanks to your comments.
Also replace all mentions of commands like `[pvpython] [script.py] --venv [venv]` by `[pvpython] --venv [venv] [script.py]`
|
Getting closer, ok to merge after another pass based on my comments. |
389c027 to
5679c70
Compare
…ve arg Ref: https://github.com/Kitware/trame/pull/876/changes/ BASE..b763491#r3090520084
Ref: https://github.com/Kitware/trame/pull/876/changes/ BASE..b763491#r3090494150
UlysseDurand
left a comment
There was a problem hiding this comment.
Comments should be now resolved
| @@ -1,4 +1,3 @@ | |||
| import paraview.web.venv # Available in PV 5.10 | |||
| from paraview import simple | |||
There was a problem hiding this comment.
Do you want to update it to a TrameApp and vue3?
|
|
||
| # ----------------------------------------------------------------------------- | ||
|
|
||
| server = get_server(client_type="vue3") |
| import paraview.web.venv # Available in PV 5.11 | ||
| from paraview import simple | ||
|
|
||
| from trame.app import get_server |
|
|
||
| from trame.app import get_server | ||
| from trame.ui.vuetify import SinglePageLayout | ||
| from trame.widgets import paraview, vuetify |
|
|
||
| from trame.app import get_server | ||
| from trame.ui.vuetify import SinglePageLayout | ||
| from trame.widgets import client, paraview, vuetify |
| from trame_server import Server | ||
| from trame_server.controller import Controller | ||
|
|
||
| from trame.app import get_server |
There was a problem hiding this comment.
TrameApp (class not decorator) and use v3 as name instead of vuetify.
| import paraview.web.venv # Available in PV 5.10-RC2+ | ||
| from paraview import simple | ||
|
|
||
| from trame.app import asynchronous, get_server |
| import paraview.web.venv | ||
| from paraview import simple | ||
|
|
||
| from trame.app import asynchronous, get_server |
| python3.9 -m venv .pvenv | ||
| python3.12 -m venv .pvenv | ||
| source .pvenv/bin/activate | ||
| pip install trame>=2.0.0 |
There was a problem hiding this comment.
update version of trame here...
There was a problem hiding this comment.
| # ----------------------------------------------------------------------------- | ||
| from paraview import simple | ||
|
|
||
| from trame.app import get_server |
| from trame.ui.router import RouterViewLayout | ||
| from trame.ui.vuetify3 import SinglePageWithDrawerLayout | ||
| from trame.widgets import plotly, router | ||
| from trame.widgets import vuetify3 as vuetify |
There was a problem hiding this comment.
If you can, use TrameApp too
|
If you want to get that merge, my comments coulld be tackled in another PR. I'm ok merging it as-is. |
Ref: https://github.com/Kitware/trame/pull/876/changes/ BASE..bd2d328#r3092867340
UlysseDurand
left a comment
There was a problem hiding this comment.
Yes I would like to make this PR and update all the examples with TrameApp in another PR, thank you.
| python3.9 -m venv .pvenv | ||
| python3.12 -m venv .pvenv | ||
| source .pvenv/bin/activate | ||
| pip install trame>=2.0.0 |
There was a problem hiding this comment.
Fix examples that didn't work.
The remaining examples I didn't manage to run are the following:
examples/Applications/ZarrContourViewerexamples/validationfolderApart from these, all the examples and their features were tested.