AllenInstitute / AllenSDK

code for reading and processing Allen Institute for Brain Science data
https://allensdk.readthedocs.io/en/latest/
Other
343 stars 149 forks source link

Adds support for VBN trials table having different name for 'change_time' #2495

Closed aamster closed 2 years ago

aamster commented 2 years ago

Addresses #2490

The BehaviorSession base class has methods that expect the trials table to have a column "change_time". However the VBN trials table has a column with a different name. This PR adds properties to the TrialTable class so that these properties can be accessed instead of the data frame columns so that a column with a different name can be accessed.