From effaec5010437c2f9a327fa72c21b20909bd07d3 Mon Sep 17 00:00:00 2001 From: Andrew Maclean Date: Tue, 8 Apr 2025 14:13:42 +1000 Subject: [PATCH 1/2] Remove the leading r from r""" and add a trailing newline. --- .../Applications/FiniteElementAnalysis/app_client_view.py | 4 ++-- .../Applications/FiniteElementAnalysis/app_local_view.py | 4 ++-- .../Applications/FiniteElementAnalysis/app_remote_view.py | 4 ++-- src/Trame/Applications/MultiFilter/app.py | 4 ++-- src/Trame/Applications/RemoteSelection/app.py | 4 ++-- src/Trame/MiniApps/SimpleCone/ClientView.py | 4 ++-- src/Trame/MiniApps/SimpleCone/LocalRendering.py | 4 ++-- src/Trame/MiniApps/SimpleCone/RemoteRendering.py | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/Trame/Applications/FiniteElementAnalysis/app_client_view.py b/src/Trame/Applications/FiniteElementAnalysis/app_client_view.py index 9560834125d..967c619020d 100644 --- a/src/Trame/Applications/FiniteElementAnalysis/app_client_view.py +++ b/src/Trame/Applications/FiniteElementAnalysis/app_client_view.py @@ -1,4 +1,4 @@ -r""" +""" Original code: https://github.com/Kitware/trame/blob/master/examples/06_vtk/Applications/FiniteElementAnalysis/app_client_view.py Installation requirements: @@ -383,4 +383,4 @@ if args.data: # ----------------------------------------------------------------------------- if __name__ == "__main__": - server.start() \ No newline at end of file + server.start() diff --git a/src/Trame/Applications/FiniteElementAnalysis/app_local_view.py b/src/Trame/Applications/FiniteElementAnalysis/app_local_view.py index 054e29228ab..78e2209fa3d 100644 --- a/src/Trame/Applications/FiniteElementAnalysis/app_local_view.py +++ b/src/Trame/Applications/FiniteElementAnalysis/app_local_view.py @@ -1,4 +1,4 @@ -r""" +""" Original code: https://github.com/Kitware/trame/blob/master/examples/06_vtk/Applications/FiniteElementAnalysis/app_local_view.py Installation requirements: @@ -362,4 +362,4 @@ if args.data: # ----------------------------------------------------------------------------- if __name__ == "__main__": - server.start() \ No newline at end of file + server.start() diff --git a/src/Trame/Applications/FiniteElementAnalysis/app_remote_view.py b/src/Trame/Applications/FiniteElementAnalysis/app_remote_view.py index 3eb57cf4f76..c628e968293 100644 --- a/src/Trame/Applications/FiniteElementAnalysis/app_remote_view.py +++ b/src/Trame/Applications/FiniteElementAnalysis/app_remote_view.py @@ -1,4 +1,4 @@ -r""" +""" Original Code: https://github.com/Kitware/trame/blob/master/examples/06_vtk/Applications/FiniteElementAnalysis/app_remote_view.py Installation requirements: @@ -373,4 +373,4 @@ if args.data: # ----------------------------------------------------------------------------- if __name__ == "__main__": - server.start() \ No newline at end of file + server.start() diff --git a/src/Trame/Applications/MultiFilter/app.py b/src/Trame/Applications/MultiFilter/app.py index 5af557e11f9..002c25803a6 100644 --- a/src/Trame/Applications/MultiFilter/app.py +++ b/src/Trame/Applications/MultiFilter/app.py @@ -1,4 +1,4 @@ -r""" +""" Original Code: https://github.com/Kitware/trame/blob/master/examples/06_vtk/Applications/MultiFilter/app.py Installation requirements: @@ -607,4 +607,4 @@ with SinglePageWithDrawerLayout(server) as layout: # ----------------------------------------------------------------------------- if __name__ == "__main__": - server.start() \ No newline at end of file + server.start() diff --git a/src/Trame/Applications/RemoteSelection/app.py b/src/Trame/Applications/RemoteSelection/app.py index 20301092b0e..8bff35a79be 100644 --- a/src/Trame/Applications/RemoteSelection/app.py +++ b/src/Trame/Applications/RemoteSelection/app.py @@ -1,4 +1,4 @@ -r""" +""" Original Code: https://github.com/Kitware/trame/blob/master/examples/06_vtk/Applications/RemoteSelection/app.py Installation requirements: @@ -378,4 +378,4 @@ with SinglePageLayout(server) as layout: # ----------------------------------------------------------------------------- if __name__ == "__main__": - server.start() \ No newline at end of file + server.start() diff --git a/src/Trame/MiniApps/SimpleCone/ClientView.py b/src/Trame/MiniApps/SimpleCone/ClientView.py index c5d604cf3ba..bd893e1f8ed 100644 --- a/src/Trame/MiniApps/SimpleCone/ClientView.py +++ b/src/Trame/MiniApps/SimpleCone/ClientView.py @@ -1,4 +1,4 @@ -r""" +""" Original Code: https://github.com/Kitware/trame/blob/master/examples/06_vtk/01_SimpleCone/ClientView.py Installation requirements: @@ -83,4 +83,4 @@ with SinglePageLayout(server) as layout: # ----------------------------------------------------------------------------- if __name__ == "__main__": - server.start() \ No newline at end of file + server.start() diff --git a/src/Trame/MiniApps/SimpleCone/LocalRendering.py b/src/Trame/MiniApps/SimpleCone/LocalRendering.py index cb0913fb1d5..819f5f55efb 100644 --- a/src/Trame/MiniApps/SimpleCone/LocalRendering.py +++ b/src/Trame/MiniApps/SimpleCone/LocalRendering.py @@ -1,4 +1,4 @@ -r""" +""" Original Code: https://github.com/Kitware/trame/blob/master/examples/06_vtk/01_SimpleCone/LocalRendering.py Installation requirements: @@ -114,4 +114,4 @@ def show(**kwargs): # ----------------------------------------------------------------------------- if __name__ == "__main__": - server.start() \ No newline at end of file + server.start() diff --git a/src/Trame/MiniApps/SimpleCone/RemoteRendering.py b/src/Trame/MiniApps/SimpleCone/RemoteRendering.py index db1ae13e458..efc9a1c8b84 100644 --- a/src/Trame/MiniApps/SimpleCone/RemoteRendering.py +++ b/src/Trame/MiniApps/SimpleCone/RemoteRendering.py @@ -1,4 +1,4 @@ -r""" +""" Original Code: - https://github.com/Kitware/trame/blob/master/examples/06_vtk/01_SimpleCone/ClassRemoteRendering.py - https://github.com/Kitware/trame/blob/master/examples/06_vtk/01_SimpleCone/RemoteRendering.py @@ -115,4 +115,4 @@ def main(**kwargs): if __name__ == "__main__": - main() \ No newline at end of file + main() -- GitLab From 48f20868df5439a5846bb3661683b9e52b909b66 Mon Sep 17 00:00:00 2001 From: Andrew Maclean Date: Tue, 8 Apr 2025 15:07:24 +1000 Subject: [PATCH 2/2] Fixed the Trame main page --- src/Trame.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/Trame.md b/src/Trame.md index bb602b574cb..b5d4c36c403 100644 --- a/src/Trame.md +++ b/src/Trame.md @@ -12,9 +12,7 @@ Make sure that you also read the [guide](https://kitware.github.io/trame/guide/) The example applications here are available as tarballs that you download and open on your computer. Once this is done, you will be able to interact with, and also modify, the application. -## VTK Examples - -### Applications +## Applications | Example Name | Description | Image | | -------------- | ------------- | ------- | @@ -22,19 +20,8 @@ The example applications here are available as tarballs that you download and op [Multi Filter](/Trame/Applications/MultiFilter) | A multi filter example using VTK. [RemoteSelection](/Trame/Applications/RemoteSelection) | How to select a data file remotely. -### MiniApps +## MiniApps | Example Name | Description | Image | | -------------- | ------------- | ------- | [SimpleCone](/Trame/MiniApps/SimpleCone) | Demonstrate basic usage of trame with VTK. - -### Advanced - -## ParaView Examples - -### Applications - -### MiniApps - -### Advanced - -- GitLab