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
2 changes: 1 addition & 1 deletion docs/setup/for_app_developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ python -m quickview.app --data /path/to/your/data.nc --conn /path/to/connectivit

To launch server only (no browser popup), use
```
python --server -m quickview.app --data /path/to/your/data.nc --conn /path/to/connectivity.nc
python -m quickview.app --data /path/to/your/data.nc --conn /path/to/connectivity.nc --server
```

----
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies = [
"pyproj>=3.6.1",
"netCDF4>=1.6.5",
"pyinstaller",
"trame-dataclass",
]
requires-python = ">=3.13"
readme = "README.md"
Expand Down Expand Up @@ -42,6 +43,7 @@ quickview = [

[project.scripts]
quickview = "quickview.app:main"
quickview2 = "quickview.app2:main"

[tool.ruff.lint.per-file-ignores]
# Ignore star import issues in ParaView plugins
Expand Down
4 changes: 2 additions & 2 deletions quickview/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from quickview.interface import EAMApp


def serve():
def main():
parser = argparse.ArgumentParser(
prog="eamapp.py", description="Trame based app for visualizing EAM data"
)
Expand Down Expand Up @@ -57,4 +57,4 @@ def serve():


if __name__ == "__main__":
serve()
main()
Loading
Loading