Skip to content

can't get some sessions #190

@stevevanhooser

Description

@stevevanhooser

The following code fails:

sessions = bot.listSessions('VisualCoding', 'Ophys');
idx = find(sessions.("id")==853363743);
sess = bot.getSessions(sessions(idx,:))

The error is

Error using assert
Expected to find exactly one H5 file
Error in bot.item.concrete.OphysSession (line 1254)
                assert(isscalar(h5Idx),"Expected to find exactly one H5 file ");
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in bot.getSessions (line 63)
            sessionObj = bot.item.concrete.OphysSession(sessionIDSpec);
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions