You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dougollerenshaw found this this evening:
a fresh install will pull down hdmf 2.5.0. This breaks pynwb/allensdk in some ways.
Tasks:
add an hdmf<=2.4.0 to requirements.txt
make that change in master, roll a minor release
rebase rc/2.11.0
contact pynwb
To reproduce, in a fresh env:
>>> from allensdk.brain_observatory.behavior.session_apis.data_io import BehaviorLimsApi
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/danielk/repos/AllenSDK/allensdk/brain_observatory/behavior/session_apis/data_io/__init__.py", line 6, in <module>
from allensdk.brain_observatory.behavior.session_apis.data_io.behavior_nwb_api import BehaviorNwbApi # noqa: F401, E501
File "/home/danielk/repos/AllenSDK/allensdk/brain_observatory/behavior/session_apis/data_io/behavior_nwb_api.py", line 11, in <module>
import allensdk.brain_observatory.nwb as nwb
File "/home/danielk/repos/AllenSDK/allensdk/brain_observatory/nwb/__init__.py", line 21, in <module>
from allensdk.brain_observatory.behavior.write_nwb.extensions.stimulus_template.ndx_stimulus_template import StimulusTemplateExtension # noqa: E501
File "/home/danielk/repos/AllenSDK/allensdk/brain_observatory/behavior/write_nwb/extensions/stimulus_template/ndx_stimulus_template.py", line 15, in <module>
'ndx-aibs-stimulus-template')
File "/home/danielk/miniconda3/envs/test/lib/python3.7/site-packages/hdmf/utils.py", line 584, in func_call
return func(**pargs)
File "/home/danielk/miniconda3/envs/test/lib/python3.7/site-packages/pynwb/__init__.py", line 187, in get_class
return __TYPE_MAP.get_container_cls(namespace, neurodata_type)
File "/home/danielk/miniconda3/envs/test/lib/python3.7/site-packages/hdmf/utils.py", line 580, in func_call
return func(args[0], **pargs)
File "/home/danielk/miniconda3/envs/test/lib/python3.7/site-packages/hdmf/build/manager.py", line 506, in get_container_cls
spec = self.__ns_catalog.get_spec(namespace, data_type)
File "/home/danielk/miniconda3/envs/test/lib/python3.7/site-packages/hdmf/utils.py", line 580, in func_call
return func(args[0], **pargs)
File "/home/danielk/miniconda3/envs/test/lib/python3.7/site-packages/hdmf/spec/namespace.py", line 316, in get_spec
raise KeyError("'%s' not a namespace" % namespace)
KeyError: "'StimulusTemplate' not a namespace"
The text was updated successfully, but these errors were encountered:
Sorry about that. We are working on a release to pynwb to account for the change and we plan to release it tomorrow morning. PyNWB will then pin a particular version of hdmf to prevent these incompatibilities in the future.
FYI: The PyNWB/HDMF team have released HDMF 2.5.1 on PyPI and conda-forge. This release reverts the breaking change. We have yanked HDMF 2.5.0 from PyPI and are in the process of marking it as broken in conda-forge. Sorry for the trouble.
@dougollerenshaw found this this evening:
a fresh install will pull down hdmf 2.5.0. This breaks pynwb/allensdk in some ways.
Tasks:
hdmf<=2.4.0
torequirements.txt
To reproduce, in a fresh env:
The text was updated successfully, but these errors were encountered: