diff --git a/docs/gallery/general/plot_configurator.py b/docs/gallery/general/plot_configurator.py index 50864820e..24890a8ce 100644 --- a/docs/gallery/general/plot_configurator.py +++ b/docs/gallery/general/plot_configurator.py @@ -64,7 +64,7 @@ # :py:class:`~hdmf.term_set.TermSet` for the ``species`` field in # :py:class:`~pynwb.file.Subject`. -dir_path = os.path.dirname(os.path.abspath(__file__)) +dir_path = os.path.dirname(os.path.abspath("__file__")) yaml_file = os.path.join(dir_path, 'nwb_gallery_config.yaml') load_type_config(config_path=yaml_file)