AllenNeuralDynamics / AllenNeuralDynamics/aind-nwb-utils
DynamicTable causes error
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.