Adapting to a change in ObsPy