Corrected copy/paste error for reading reference response file.

这个提交包含在:
Craig Warren
2016-08-12 14:15:50 +01:00
父节点 b00af3a863
当前提交 8303c1486a

查看文件

@@ -105,7 +105,7 @@ def xcorr(filename, args):
""" """
# Load (from text file) the reference response. See if file exists at specified path and if not try input file directory # Load (from text file) the reference response. See if file exists at specified path and if not try input file directory
refrespfile = os.path.abspath(args['refrespfile']) refrespfile = os.path.abspath(args['refresp'])
if not os.path.isfile(refrespfile): if not os.path.isfile(refrespfile):
raise GeneralError('Cannot load reference response at {}'.format(refrespfile)) raise GeneralError('Cannot load reference response at {}'.format(refrespfile))
with open(refresp, 'r') as f: with open(refresp, 'r') as f: