AllenNeuralDynamics / AllenNeuralDynamics/aind-nwb-utils

DynamicTable causes error

未关闭
#12 3 条评论 0 个 reaction 已指派 1 人 已指派给 @rcpeene 在 GitHub 查看
主要语言
Python
星标
1
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

**Describe the bug**
Running the combine tool on two ecephys hdf5 NWBs fails

**To Reproduce**
Steps to reproduce the behavior:
run capsule here
https://codeocean.allenneuraldynamics.org/capsule/4807160/tree?cw=true

**Expected behavior**
I expect the NWBs to be merged

**Screenshots**
```python
Traceback (most recent call last):
File "/root/capsule/code/run_capsule.py", line 56, in
run()
File "/root/capsule/code/run_capsule.py", line 49, in run
output_nwb = combine_nwb_file(output_nwb, combine_nwb, "/scratch", save_io)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/aind_nwb_utils/utils.py", line 89, in combine_nwb_file
main_nwb = get_nwb_attribute(main_nwb, sub_nwb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/aind_nwb_utils/utils.py", line 62, in get_nwb_attribute
raise TypeError(f"Unexpected type for {field_name}: {type(attribute)}")
TypeError: Unexpected type for electrodes:
```

**Desktop (please complete the following information):**
- running in a CO capsule

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。