MemoryReader.timeseries
doesn't raise NoDataError on empty AtomGroup, while DCDReader.timeseries
does
#3898
Labels
Milestone
Expected behavior
The DCDReader timeseries and MemoryReader behave the same.
Actual behavior
The
DCDReader
raises aNoDataError
if an empty atomgroup is provided as theasel
argument. This is the same approach taken in #3890However the
MemoryReader
just returns an empty array.Code to reproduce the behavior
The text was updated successfully, but these errors were encountered: