Skip to content

Mixed types for neurodata_type_inc when defining NWBGroupSpec #37

Answered by tuanpham96
tuanpham96 asked this question in Q&A
Discussion options

You must be logged in to vote

For both attempts below, description is put back to NWBGroupSec(attributes=...) when creating the extension, no need to define name. Using hdmf 3.4.6.post0.dev4.

rawacqmod = NWBGroupSpec(
    neurodata_type_def='AcquisitionModule',
    neurodata_type_inc='NWBDataInterface',
    doc='Module/container to add acquisition raw data into',
    quantity='*',
    attributes = [
        NWBAttributeSpec(name='description', doc='Description of this acquisition module', dtype='text'),
    ],
    groups=[
        NWBGroupSpec(
            neurodata_type_inc='NWBDataInterface',
            doc='NWBDataInterface',
            quantity='*',
        ),
        NWBGroupSpec(
            neurodata_type_inc='…

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@tuanpham96
Comment options

Comment options

You must be logged in to vote
1 reply
@tuanpham96
Comment options

Comment options

You must be logged in to vote
3 replies
@tuanpham96
Comment options

@bendichter
Comment options

@rly
Comment options

Comment options

You must be logged in to vote
2 replies
@rly
Comment options

@tuanpham96
Comment options

Answer selected by tuanpham96
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants