Ensure durations contains floats, not float arrays of size 1
Ensure durations contains floats, not float arrays of size 1

NeuralEnsemble/python-neo,rgerkin/python-neo,samuelgarcia/python-neo,apdavison/python-neo,INM-6/python-neo,JuliaSprenger/python-neo