diff --git a/allensdk/brain_observatory/behavior/behavior_project_cache/project_apis/data_io/behavior_project_cloud_api.py b/allensdk/brain_observatory/behavior/behavior_project_cache/project_apis/data_io/behavior_project_cloud_api.py index e2e3ca778..5ace2a643 100644 --- a/allensdk/brain_observatory/behavior/behavior_project_cache/project_apis/data_io/behavior_project_cloud_api.py +++ b/allensdk/brain_observatory/behavior/behavior_project_cache/project_apis/data_io/behavior_project_cloud_api.py @@ -57,7 +57,7 @@ def sanitize_data_columns( class BehaviorProjectCloudApi(BehaviorProjectBase, ProjectCloudApiBase): - MANIFEST_COMPATIBILITY = ["0.0.0", "2.0.0"] + MANIFEST_COMPATIBILITY = ["1.0.0", "2.0.0"] def _load_manifest_tables(self): expected_metadata = set( diff --git a/doc_template/examples_root/examples/nb/aligning_behavioral_data_to_task_events_with_the_stimulus_and_trials_tables.ipynb b/doc_template/examples_root/examples/nb/aligning_behavioral_data_to_task_events_with_the_stimulus_and_trials_tables.ipynb index f80d9dbd6..5972ff81a 100644 --- a/doc_template/examples_root/examples/nb/aligning_behavioral_data_to_task_events_with_the_stimulus_and_trials_tables.ipynb +++ b/doc_template/examples_root/examples/nb/aligning_behavioral_data_to_task_events_with_the_stimulus_and_trials_tables.ipynb @@ -1241,7 +1241,7 @@ " '''\n", " table = stimulus_presentations\n", " change_frame = row['change_frame']\n", - " if np.isnan(change_frame):\n", + " if np.isnan(change_frame) or change_frame < 0:\n", " return np.nan\n", " \n", " change_time = table[table.start_frame==change_frame]\\\n", diff --git a/doc_template/examples_root/examples/nb/brain_observatory_analysis.ipynb b/doc_template/examples_root/examples/nb/brain_observatory_analysis.ipynb index 29d10f028..37e075d9d 100644 --- a/doc_template/examples_root/examples/nb/brain_observatory_analysis.ipynb +++ b/doc_template/examples_root/examples/nb/brain_observatory_analysis.ipynb @@ -1445,12 +1445,12 @@ " # read in LocallySparseNoise output and display it\n", " off_receptive_field = Image.open(Path(resources_dir) /\n", " 'brain_observatory_analysis' /\n", - " 'off_receptive_field.png')\n", + " 'off_receptive_field.png').convert('RGB')\n", " display(off_receptive_field)\n", "\n", " on_receptive_field = Image.open(Path(resources_dir) /\n", " 'brain_observatory_analysis' /\n", - " 'on_receptive_field.png')\n", + " 'on_receptive_field.png').convert('RGB')\n", " display(on_receptive_field)" ] } diff --git a/doc_template/examples_root/examples/nb/ecephys_session.ipynb b/doc_template/examples_root/examples/nb/ecephys_session.ipynb index 6a9238132..ac7c292cd 100644 --- a/doc_template/examples_root/examples/nb/ecephys_session.ipynb +++ b/doc_template/examples_root/examples/nb/ecephys_session.ipynb @@ -150677,7 +150677,7 @@ "else:\n", " lfp_plot = Image.open(Path(resources_dir) /\n", " 'ecephys_session' /\n", - " 'lfp_plot.png')\n", + " 'lfp_plot.png').convert('RGB')\n", " display(lfp_plot)" ] }, @@ -150778,7 +150778,7 @@ "else:\n", " filtered_csd_plot = Image.open(Path(resources_dir) /\n", " 'ecephys_session' /\n", - " 'filtered_csd_plot.png')\n", + " 'filtered_csd_plot.png').convert('RGB')\n", " display(filtered_csd_plot)" ] },