Skip to content

Commit 43f4563

Browse files
committed
Update URLs in README and Home.py to point to the production site
1 parent 2dadce4 commit 43f4563

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
A streamlit app for browsing foraging behavior sessions in AIND.
44

55
## The app
6-
- The one running on ECS: https://foraging-behavior-browser.allenneuraldynamics-test.org/
6+
- The one running on ECS: https://foraging-behavior-browser.allenneuraldynamics.org/
77
- If you see a window "Select a certificate for authentication", just click "Cancel".
88
- To debug, use this [Code Ocean capsule](https://codeocean.allenneuraldynamics.org/capsule/3373065/tree?cw=true)
9-
- See also a streamlit app for ephys sessions https://foraging-ephys-browser.allenneuraldynamics-test.org/ ([Git repo](https://github.com/AllenNeuralDynamics/foraging-ephys-browser/))
9+
- See also a streamlit app for ephys sessions https://foraging-ephys-browser.allenneuraldynamics.org/ ([Git repo](https://github.com/AllenNeuralDynamics/foraging-ephys-browser/))
1010

1111
## Sharing a contextual app
1212
Starting from this [PR](https://github.com/AllenNeuralDynamics/foraging-behavior-browser/pull/25), 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.
1313

1414
For example, this URL show all plots of mouse 699982
1515

16-
> https://foraging-behavior-browser.allenneuraldynamics-test.org/?filter_subject_id=699982&session_plot_mode=all+sessions+filtered+from+sidebar&tab_id=tab_session_inspector
16+
> https://foraging-behavior-browser.allenneuraldynamics.org/?filter_subject_id=699982&session_plot_mode=all+sessions+filtered+from+sidebar&tab_id=tab_session_inspector
1717
1818
![image](https://github.com/AllenNeuralDynamics/foraging-behavior-browser/assets/24734299/4389e251-1305-4a85-8936-7e5d737f8408)
1919

2020

2121
and this URL will show exactly the plot below. Note the filters and plot settings are preserved.
2222

23-
> https://foraging-behavior-browser.allenneuraldynamics-test.org/Old_mice?filter_subject_id=HH&filter_session=1.0&filter_session=81.0&filter_finished_trials=825.6&filter_finished_trials=1872.0&filter_foraging_eff=0.793295&filter_foraging_eff=1.2966&filter_task=coupled_block_baiting&filter_photostim_location=None&tab_id=tab_session_x_y&x_y_plot_xname=foraging_eff&x_y_plot_yname=finished_trials&x_y_plot_group_by=subject_id&x_y_plot_if_show_dots=True&x_y_plot_if_aggr_each_group=True&x_y_plot_aggr_method_group=linear+fit&x_y_plot_if_aggr_all=False&x_y_plot_aggr_method_all=mean+%2B%2F-+sem&x_y_plot_smooth_factor=5&x_y_plot_if_use_x_quantile_group=False&x_y_plot_q_quantiles_group=20&x_y_plot_if_use_x_quantile_all=False&x_y_plot_q_quantiles_all=20&x_y_plot_dot_size=21&x_y_plot_dot_opacity=0.4&x_y_plot_line_width=3.5&auto_training_history_x_axis=session&auto_training_history_sort_by=progress_to_graduated&auto_training_history_sort_order=descending
23+
> https://foraging-behavior-browser.allenneuraldynamics.org/Old_mice?filter_subject_id=HH&filter_session=1.0&filter_session=81.0&filter_finished_trials=825.6&filter_finished_trials=1872.0&filter_foraging_eff=0.793295&filter_foraging_eff=1.2966&filter_task=coupled_block_baiting&filter_photostim_location=None&tab_id=tab_session_x_y&x_y_plot_xname=foraging_eff&x_y_plot_yname=finished_trials&x_y_plot_group_by=subject_id&x_y_plot_if_show_dots=True&x_y_plot_if_aggr_each_group=True&x_y_plot_aggr_method_group=linear+fit&x_y_plot_if_aggr_all=False&x_y_plot_aggr_method_all=mean+%2B%2F-+sem&x_y_plot_smooth_factor=5&x_y_plot_if_use_x_quantile_group=False&x_y_plot_q_quantiles_group=20&x_y_plot_if_use_x_quantile_all=False&x_y_plot_q_quantiles_all=20&x_y_plot_dot_size=21&x_y_plot_dot_opacity=0.4&x_y_plot_line_width=3.5&auto_training_history_x_axis=session&auto_training_history_sort_by=progress_to_graduated&auto_training_history_sort_order=descending
2424
2525
<img width="1664" alt="image" src="https://github.com/AllenNeuralDynamics/foraging-behavior-browser/assets/24734299/2eaa7697-01cc-4eb3-bd0c-7d91c1eb64e0">
2626

code/Home.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,6 @@ def add_main_tabs():
701701
st.markdown('# Something went wrong! :scream: ')
702702
st.markdown('## :bulb: Please follow these steps to troubleshoot:')
703703
st.markdown('#### 1. Reload the page')
704-
st.markdown('#### 2. Click this original URL https://foraging-behavior-browser.allenneuraldynamics-test.org/')
704+
st.markdown('#### 2. Click this original URL https://foraging-behavior-browser.allenneuraldynamics.org/')
705705
st.markdown('#### 3. Report your bug here: https://github.com/AllenNeuralDynamics/foraging-behavior-browser/issues (paste your URL and screenshoots)')
706706
raise e

0 commit comments

Comments
 (0)