diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 6e72bb68..bccef9d4 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -5,4 +5,4 @@ ENV DEBIAN_FRONTEND=noninteractive COPY .devcontainer/environment.yml /tmp/conda-tmp/ -RUN /opt/conda/bin/conda env update -n base -f /tmp/conda-tmp/environment.yml \ No newline at end of file +RUN /opt/conda/bin/conda env update -n base -f /tmp/conda-tmp/environment.yml diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 46e14d53..597176d9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -42,4 +42,4 @@ "gua.rainbow-brackets", "ms-python.vscode-pylance" ] -} \ No newline at end of file +} diff --git a/README.md b/README.md index 5502739c..f8e4d730 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Instructions for using the app are provided below. To run the deployed version of the app simply direct your browser to [bit.ly/biosnicar](bit.ly/biosnicar). Alternatively, run the app locally by following these instructions: -The code for the Streamlit app is in `~/app/streamlit/app.py`. +The code for the Streamlit app is in `~/app.py`. In a terminal, navigate to the top-level BioSNICAR directory and run: diff --git a/app/streamlit/inputs.yaml b/app-inputs.yaml similarity index 100% rename from app/streamlit/inputs.yaml rename to app-inputs.yaml diff --git a/app/streamlit/app.py b/app.py similarity index 99% rename from app/streamlit/app.py rename to app.py index 86b1d996..4a5ba9ea 100644 --- a/app/streamlit/app.py +++ b/app.py @@ -86,7 +86,7 @@ def run_snicar( dict: Dict with result for display. """ - input_file = "app/streamlit/inputs.yaml" + input_file = "app_inputs.yaml" if layer == "grains": layer = 0 diff --git a/start_app.sh b/start_app.sh index 57d5bb93..9a115482 100755 --- a/start_app.sh +++ b/start_app.sh @@ -2,4 +2,4 @@ echo "---------------------" echo "Go to http://localhost:8501" -python -m streamlit run app/streamlit/app.py +python -m streamlit run app.py