A streamlit app for browsing foraging behavior sessions in AIND.
-
The one running on ECS: https://aindephysforagingapplb-23793000.us-west-2.elb.amazonaws.com/
-
If you see this, click "Advanced"
and then click "Continue to..."
-
The one running on Streamlit Community Cloud: https://foraging-behavior-browser.streamlit.app/ -
To debug, use this Code Ocean capsule
-
See also a streamlit app for ephys sessions https://github.com/AllenNeuralDynamics/foraging-ephys-browser/
Starting from this PR, the URL contains (part of) the session state of the app. Meaning that the user can "query" pre-set filters and plot settings in the URL. On the other hand, after interacting with the app, the URL is automatically updated to reflect the user interactions, and the user can then copy and paste the URL to share/save the new context. Essentially, this becomes a cool way of sharing a data analysis.
For example, this URL will show exactly the plot below. Note the filters and plot settings are preserved.
So far, theses are all supported fields in the URL query:
https://github.com/AllenNeuralDynamics/foraging-behavior-browser/blob/3f4124e98ed7aa3524b2d32c0670e8cd92ec9e41/code/Home.py#L54-L85