Skip to content
Snippets Groups Projects
Commit b30d0a12 authored by Jeremy Faden's avatar Jeremy Faden
Browse files

fix empty record (6,Z)

parent ec0b6a1d
Branches
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ for i in xrange(0,len(zeroCrossings)):
rec= replicate( Double.NaN, nmax )
subset= ds[ i0:i1 ]
if ( deslope ):
if ( deslope and i1-i0>2 ):
units0= subset.property(QDataSet.UNITS)
subset.putProperty( QDataSet.UNITS, None )
xt= xtags(subset)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment