diff --git a/test/StreamConverter_test.py b/test/StreamConverter_test.py index 0c8b4207ac380f9d27efb5c526d24f9703dcec78..446a4b553340a1646d9344602cdcf7c478a4a096 100644 --- a/test/StreamConverter_test.py +++ b/test/StreamConverter_test.py @@ -362,6 +362,7 @@ def __create_trace(channel, data, decbase=0): stats = obspy.core.Stats() stats.starttime = STARTTIME stats.delta = 60 + stats.npts = len(data) stats.declination_base = decbase stats.channel = channel numpy_data = numpy.array(data, dtype=numpy.float64)