achabotl / pambox

Python auditory modeling toolbox.
http://pambox.org
BSD 3-Clause "New" or "Revised" License
35 stars 8 forks source link

SRT calculation fails if model_srts is defined but the model is not in results #37

Closed achabotl closed 9 years ago

achabotl commented 9 years ago

The srts_from_df method crashes if model_srts is defined but the models are not in the dataframe. The issues is that the aggregate method ends up with functions for columns that don't exist.

This should be fixed by adding the model_srts values only if the model--output pair exists in the data frame.

achabotl commented 9 years ago

Fixed by d692e40.