chime-experiment/dias

Feedpositions analyzer is broken

Closed this issue · 2 comments

Jan 06 13:00:06 marimba dias[3344]: TypeError: ufunc 'divmod' not 
supported for the input types, and the inputs could not be safely coerced to
any supported types according to the cast                                      

Newer versions of numpy are stricter with their casting, and the newer versions of caput will often try and process things as directly numpy arrays rather than collecting things computing things by calling the function for each element directly.

We updated the version of caput to the newest one, and that seems to have fixed the problem.

The issue was that feedpositions was passing a datetime to a function that was expecting a unix float! However, we decided that we were not interested in continuing to maintain this analyzer (it was not a significant source of scientific insight), and so instead of the fixing the bug, the analyzer was turned off.