Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show package version in app #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ringvax"
version = "0.1.0"
version = "0.1.1"
description = ""
authors = ["Scott Olesen <[email protected]>", "Andy Magee <[email protected]>", "Paige Miller <[email protected]>"]
readme = "README.md"
Expand Down
3 changes: 3 additions & 0 deletions ringvax/app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import importlib.metadata
import time
from typing import List

Expand Down Expand Up @@ -171,6 +172,8 @@ def app():
seed = st.number_input("Random seed", value=1234, step=1)
nsim = st.number_input("Number of simulations", value=250, step=1)

st.caption(f"App version: {importlib.metadata.version('ringvax')}")

params = {
"n_generations": n_generations,
"latent_duration": latent_duration,
Expand Down
Loading