# raise NotImplementedError(
# 'Missmatched duplicate traces for %s: %s'
# % (trace_name, ', '.join(msg)))
- import sys
+ import logging
+ log = logging.getLogger('hooke')
for name,t in traces.items():
if (t == trace).all():
- print >> sys.stderr, 'replace %s with %s-2' % (name, trace_name)
+ log.debug('replace %s with %s-2' % (name, trace_name))
return name # Replace this identical dataset.
- print >> sys.stderr, 'store %s-2 as Other' % (trace_name)
+ log.debug('store %s-2 as Other' % (trace_name))
return 'Other'
# return None
Success
<BLANKLINE>
>>> h = r.run_lines(h, ['curve_info']) # doctest: +ELLIPSIS, +REPORT_UDIFF
-name: 20100504135237_unfold
-path: test/data/vclamp_wtk/unfold/20100504/20100504135237_unfold
+name: 20100504144209_unfold
+path: test/data/vclamp_wtk/unfold/20100504/20100504144209_unfold
experiment: <class 'hooke.experiment.VelocityClamp'>
driver: <hooke.driver.wtk.WTKDriver object at 0x...>
filetype: wtk
note:
blocks: 2
-block sizes: [(16001, 3), (16001, 3)]
+block sizes: [(810, 2), (8001, 2)]
Success
<BLANKLINE>
"""