def display_timestamps_pair_compact(time_m_2):
 if (len(time_m_2) == 0):
  return '(empty)'
 time_m_2 = np.array(time_m_2)
 low = time_m_2[:, 0].mean()
 high = time_m_2[:, 1].mean()
 low = max(low, 0)
 if (high < 0):
  logger.warn('Harmless warning: upper-bound on clock skew is negative: (%s, %s). Please let Greg know about this.', low, high)
 return '{}-{}'.format(display_timestamp(low), display_timestamp(high))

def display_timestamps_pair_compact ( time_m_2 ) : if ( len ( time_m_2 ) == 0 ) : return '(empty)' time_m_2 = np . array ( time_m_2 ) low = time_m_2 [ : , 0 ] . mean ( ) high = time_m_2 [ : , 1 ] . mean ( ) low = max ( low , 0 ) if ( high < 0 ) : logger . warn ( 'Harmless warning: upper-bound on clock skew is negative: (%s, %s). Please let Greg know about this.' , low , high ) return '{}-{}' . format ( display_timestamp ( low ) , display_timestamp ( high ) )
takes a list of the following form: [ .