def _parse_coeffs(args):
file = args.file
check_existing = args.check_existing
_coeffs = parse_crv_coeffs(file=file)
if check_existing:
for n in sorted(coeffs):
for v in 'pq':
print('Checking against', n, v)
if _coeffs[n][v] == coeffs[n][v]:
print(n, v, "matches")
else:
print(n, v, "doesn't match")
print(v, 'diff:')
print('\n'.join(difflib.ndiff(_coeffs[n][v], coeffs[n][v])))
else:
pprint.pprint(_coeffs, width=20)
评论列表
文章目录