Python tools and software developed by the SERPENTINE project for data downloading and performing of analysis and visualisation
BSD 3-Clause "New" or "Revised" License
18
stars
2
forks
source link
Import _istreamlit function from solarmach #23
Open
jgieseler opened 1 year ago
The function
_istreamlit
that checks if the code is run within a streamlit session is right now manually defined in the code: https://github.com/serpentine-h2020/serpentine/blob/4804c86b554460989fd085fa9fefc380747346ab/notebooks/solarmach/pfss_notebook_lib.py#L368-L386 It should just be imported from solarmach byfrom solarmach import _istreamlit
, so that we only have one copy to maintain.