AllenNeuralDynamics / AllenNeuralDynamics/comb

get_licks() returns object rather than dataFrame

Aberta
#44 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
1
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**Describe the bug**
`bod.get_licks()['timestamps']` errors because `bod.get_licks()` return 'Licks' object, not a dataFrame.
This behavior is different from
- `bod.get_running_speed()['timestamps']`, where `bod.get_running_speed()' explicitly returns a dataframe
- `bod.get_rewards()['timestamps']`, where `bod.get_rewards()' returns DataObject of comb.core, which somehow is pd.DataFrame
Meanwhile, `type(bod.get_licks())` return `comb.processing.biometrics.licks.Licks`

Need to consolidate returned data objects from different biometrics (preferably pd.DataFrame)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.