Skip to content

Commit

Permalink
Remove Brain Observatory example
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Jan 28, 2025
1 parent c0ba7e1 commit 13dac8d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 211 deletions.
202 changes: 0 additions & 202 deletions docs/gallery/domain/brain_observatory.py

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ class CustomSphinxGallerySectionSortKey(ExampleTitleSortKey):
"icephys.py",
"plot_behavior.py",
"images.py",
"brain_observatory.py"
],
'advanced_io': []
}
Expand Down
2 changes: 0 additions & 2 deletions requirements-doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ sphinx>=4 # improved support for docutils>=0.17
sphinx_rtd_theme>=1 # <1 does not work with docutils>=0.17
matplotlib
sphinx-gallery
# allensdk>=2.13.2 # allensdk reinstalls pynwb and hdmf. TODO set up a separate workflow to test allensdk
# MarkupSafe==2.0.1 # resolve incompatibility between jinja2 and markupsafe: https://github.com/AllenInstitute/AllenSDK/issues/2308
Pillow
sphinx-copybutton
dataframe_image # used to render large dataframe as image in the sphinx gallery to improve html display
Expand Down
7 changes: 1 addition & 6 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ def _import_from_file(script):
os.path.join('advanced_io', 'streaming.py'),
]

allensdk_examples = [
os.path.join('domain', 'brain_observatory.py'), # TODO create separate workflow for this
]


def run_example_tests():
"""Run the Sphinx gallery example files, excluding ROS3-dependent ones, to check for errors."""
Expand All @@ -99,7 +95,7 @@ def run_example_tests():
for f in files:
if f.endswith(".py"):
name_with_parent_dir = os.path.join(os.path.basename(root), f)
if name_with_parent_dir in ros3_examples or name_with_parent_dir in allensdk_examples:
if name_with_parent_dir in ros3_examples:
logging.info("Skipping %s" % name_with_parent_dir)
continue
examples_scripts.append(os.path.join(root, f))
Expand Down Expand Up @@ -277,7 +273,6 @@ def clean_up_tests():
"basic_sparse_iterwrite_*.npy",
"basics_tutorial.nwb",
"behavioral_tutorial.nwb",
"brain_observatory.nwb",
"cache_spec_example.nwb",
"ecephys_tutorial.nwb",
"ecog.extensions.yaml",
Expand Down

0 comments on commit 13dac8d

Please sign in to comment.