-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from pythonhealthdatascience/dev
DEV: added changelog
- Loading branch information
Showing
3 changed files
with
100 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Change Log | ||
|
||
## v3.0.0 | ||
|
||
22nd April 2024 | ||
|
||
* ENV: `plotly` v5.21.0 added. | ||
* ENV: Arrival rate and MORE plot have been migrated to be interactive `plotly` format. | ||
* MODULE: `more_plot.py` updated to include a `more_plotly` function. | ||
* PAGES: Multiple replications setting moved from side bar to main window and converted to text input in 🎱 Interactive Simulation page. | ||
* PAGES: Creation of Resources app page. Migration of Links from About page. | ||
* PAGES: Creation of Changes app page: logging all major, minor and patched releases of the app. | ||
* PAGES: About page cleaned up and linked to STARS main study and team. | ||
* PAGES: Emojis 😀 added to app internal page names | ||
|
||
## v2.2.0 | ||
|
||
20th April 2024 | ||
|
||
* PAGES: Introduce of License page | ||
* PAGES: Links to GitHub, Zenodo archive, Documentation and Tutorial material added to About Page | ||
* ENV: Upgrade `streamlit` to 1.33.0 | ||
* ENV: Upgrade `simpy` to 4.1.1 | ||
|
||
## v2.1.0 | ||
|
||
8th March 2024 | ||
|
||
* SIM: Upgraded internal implementation of generating non-overlapping random number streams. This is now implemented to use `np.random.SeedSequence`. See https://numpy.org/doc/stable/reference/random/parallel.html | ||
* PATCH: Removed deprecated use of st.@cache decorator. | ||
|
||
## v2.0.0 | ||
|
||
1st March 2024 | ||
|
||
* ENV: Upgraded to Python 3.10 and upgrade `numpy`, `pandas`, `matplotlib`` versions etc. | ||
* ENV: Upgraded to streamlit `1.31.1` | ||
* PAGES: Removed deprecated `streamlit`` functions | ||
* PATCH: Fixed `st.setup_page` location in `Overview.py` (main landing page) to avoid runtime error. | ||
|
||
## v1.2.0 | ||
|
||
30th October 2023 | ||
|
||
* Updated pilot Web App release to support *Toward Sharing Tools and Artefacts for Reusable Simulations in Healthcare* project. | ||
* GITHUB: Included detailed instructions to download the code, install dependencies and run the app locally | ||
* GITHUB: Updated README URLs and included link to SW23 version of app redundancy. | ||
|
||
## v1.1.0 | ||
|
||
23rd January 2023 | ||
|
||
* Added Dockerfile that creates a python:3.8 image running the latest version of streamlit and the app on port 8989. | ||
|
||
## v1.0.0 | ||
|
||
19th July 2022 | ||
|
||
* Pilot Web App release to test project feasibility. | ||
* The release supports [conference paper](https://www.theorsociety.com/media/7313/doiorg1036819sw23030.pdf) and talk given at the OR Society Simulation Workshop 2023 (SW23) | ||
* Code can be found in separate repository: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
''' | ||
Change log page | ||
A list of changes to each version of the app | ||
''' | ||
|
||
import streamlit as st | ||
import urllib.request as request | ||
|
||
FILE = ( | ||
"https://raw.githubusercontent.com/pythonhealthdatascience/" | ||
+ "stars-streamlit-example/main/CHANGES.md" | ||
) | ||
|
||
|
||
def read_file_contents(path): | ||
""" | ||
Download the content of a file from the GitHub Repo and return as a utf-8 string | ||
Notes: | ||
------- | ||
adapted from 'https://github.com/streamlit/demo-self-driving' | ||
Parameters: | ||
---------- | ||
path: str | ||
e.g. file_name.md | ||
Returns: | ||
-------- | ||
utf-8 str | ||
""" | ||
response = request.urlopen(path) | ||
return response.read().decode("utf-8") | ||
|
||
|
||
st.markdown(read_file_contents(FILE)) |