Skip to content

Commit

Permalink
Updating streamlit docker env (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
YojanaGadiya authored Oct 21, 2024
2 parents 04ed5fe + 9e3e7a7 commit 8a73a78
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ WORKDIR $HOME/datascience_toolkit
RUN apt-get update && apt-get install --no-install-recommends -y \
build-essential \
software-properties-common
RUN apt-get install libxrender1

# Copy code and start script (this will place the files in home/username/)
COPY .streamlit $HOME/datascience_toolkit/.streamlit
Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,25 @@

This repository constains the overall suite of resources and tools built by the Fraunhofer ITMP data science team.

# Local testing

To run the app locally for debuging and testing purposes, do as follows:
```bash
git clone https://github.com/Fraunhofer-ITMP/datascience_toolkit.git
cd datasicence_toolkit
conda create --name=streamlit-app python=3.9
conda activate streamlit-app
pip install -r requirements.txt
streamlit run Main.py
```

This will then open up the streamlit app locally.

# Updating information

To add new members to the group, check out the [data](https://github.com/Fraunhofer-ITMP/datascience_toolkit/tree/main/data) folder.

* New members: Add the details of the new member in the [CSV](https://github.com/Fraunhofer-ITMP/datascience_toolkit/blob/main/data/members.csv) file.

* New publication: Add a new publication in Chicago style from [Google scholar](https://scholar.google.com/) in the [CSV](https://github.com/Fraunhofer-ITMP/datascience_toolkit/blob/main/data/publications.tsv)

2 changes: 1 addition & 1 deletion data/members.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Reagon Karki,[email protected],0000-0002-1815-0037
Yojana Gadiya,[email protected],0000-0002-7683-0452
Holger Hennig,[email protected],0000-0002-4272-2445
Katja Herzog,[email protected],0000-0002-1389-8118
Juergen Mueller,[email protected]
Juergen Mueller,[email protected],
Sheraz Gul,[email protected],0000-0003-2543-1643
Philip Gribbon,[email protected],0000-0001-7655-2459
Carsten Claussen,[email protected],0000-0002-5831-8498
4 changes: 0 additions & 4 deletions pages/2_Ensemblapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,6 @@ def get_uniprot_info(gene_list):


def main():
# Add the logo
logo = Image.open("fraunhofer_ITMP-logo_900p.jpg")
st.image(logo, width=200) # Adjust the width as needed

st.markdown(
"<h1 style='text-align: center; color: green;'>Ensembl Gene Information Retriever</h1>",
unsafe_allow_html=True,
Expand Down

0 comments on commit 8a73a78

Please sign in to comment.