AllenNeuralDynamics / AllenNeuralDynamics/aind-nwb-utils

DynamicTable causes error

Ouverte
#12 3 commentaires 0 réactions 1 personne assignée Assignée à @rcpeene Voir sur GitHub
Langage dominant
Python
Étoiles
1
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.