Commit d30c6577 authored by Gustavo Pinzon's avatar Gustavo Pinzon
Browse files

Fixed test for readCorrelationTSV()

parent 53fa66cb
Pipeline #52808 passed with stages
in 13 minutes and 3 seconds
......@@ -319,6 +319,28 @@ def readCorrelationTSV(fileName, fieldBinRatio=1.0, readOnlyDisplacements=False,
error = f['error']
except ValueError:
pass
# Return pixelSearchCC
if readPSCC:
PSCC = numpy.zeros(nPoints)
try:
PSCC = f['PSCC']
except ValueError:
pass
# Return error
if readError:
error = numpy.zeros(nPoints)
try:
error = f['error']
except ValueError:
pass
# Return labelDilate
if readLabelDilate:
labelDilate = numpy.zeros(nPoints)
try:
labelDilate = f['LabelDilate']
except ValueError:
pass
PSCC = 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment