From d5a6d0fd6a01fa78df5e4d15ce76a4257debddc5 Mon Sep 17 00:00:00 2001 From: Aditi Bishnoi Date: Fri, 5 Jul 2024 16:08:57 +0530 Subject: [PATCH 1/4] Update load_Allen_Visual_Behavior_from_SDK.ipynb Pandas compatibility issues resolved --- .../neurons/load_Allen_Visual_Behavior_from_SDK.ipynb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb b/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb index 16e46ece0f..cc12764c9a 100644 --- a/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb +++ b/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb @@ -3633,7 +3633,7 @@ } ], "source": [ - "stimulus_table.query('omitted').head(10)" + "stimulus_table.query('omitted',engine='python').head(10)" ] }, { @@ -3956,7 +3956,7 @@ " data=neural_data.query('cell_specimen_id == @cell_id'),\n", " t='timestamps',\n", " y='dff',\n", - " event_times=stimulus_table.query('omitted')['start_time'],\n", + " event_times=stimulus_table.query('omitted',engine='python')['start_time'],\n", " t_before=3,\n", " t_after=3,\n", " output_sampling_rate=50,\n", @@ -4219,7 +4219,7 @@ " data=df,\n", " t='timestamps',\n", " y=y,\n", - " event_times=stimulus_table.query(event_query)['start_time'],\n", + " event_times=stimulus_table.query(event_query,engine='python')['start_time'],\n", " t_before=t_before,\n", " t_after=t_before,\n", " output_sampling_rate=50,\n", @@ -8464,9 +8464,7 @@ "name": "python3" }, "kernelspec": { - "display_name": "Python [conda env:nma-compneuro]", "language": "python", - "name": "conda-env-nma-compneuro-py" }, "language_info": { "codemirror_mode": { @@ -8478,9 +8476,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.17" } }, "nbformat": 4, - "nbformat_minor": 0 } From b90428225432a6f335361e6fa5e1c37fa8b49b24 Mon Sep 17 00:00:00 2001 From: steeve laquitaine Date: Fri, 5 Jul 2024 20:28:10 +0200 Subject: [PATCH 2/4] Fixed broken links for notebooks --- .../HumanEstimationErrorDynamicsInBayesianFramework.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/docs/template_images/HumanEstimationErrorDynamicsInBayesianFramework.svg b/projects/docs/template_images/HumanEstimationErrorDynamicsInBayesianFramework.svg index 92d3b830a3..c7103ddad4 100644 --- a/projects/docs/template_images/HumanEstimationErrorDynamicsInBayesianFramework.svg +++ b/projects/docs/template_images/HumanEstimationErrorDynamicsInBayesianFramework.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file From a042e404234860bf5065194579ed175bc35365ee Mon Sep 17 00:00:00 2001 From: Zoltan Date: Fri, 5 Jul 2024 17:20:00 -0400 Subject: [PATCH 3/4] reprocess project book --- .../neurons/load_Allen_Visual_Behavior_from_SDK.ipynb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb b/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb index cc12764c9a..b09bd40114 100644 --- a/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb +++ b/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb @@ -8464,12 +8464,16 @@ "name": "python3" }, "kernelspec": { + "display_name": "Python [conda env:nma-compneuro]", "language": "python", + "name": "conda-env-nma-compneuro-py" }, "language_info": { "codemirror_mode": { "name": "ipython", - "version": 3 + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.9.17" }, "file_extension": ".py", "mimetype": "text/x-python", @@ -8479,4 +8483,5 @@ } }, "nbformat": 4, -} + "nbformat_minor": 0 +} \ No newline at end of file From 157038126dd7dd18a3323b8bab1023510473737f Mon Sep 17 00:00:00 2001 From: Zoltan Date: Fri, 5 Jul 2024 17:22:09 -0400 Subject: [PATCH 4/4] update fixes --- projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb b/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb index b09bd40114..f9e5f86775 100644 --- a/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb +++ b/projects/neurons/load_Allen_Visual_Behavior_from_SDK.ipynb @@ -8471,15 +8471,14 @@ "language_info": { "codemirror_mode": { "name": "ipython", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.9.17" + "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", + "version": "3.9.17" } }, "nbformat": 4,