#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# s = 'Sequence: dur={}, nfrs={} [\n' . format ( str ( datetime . timedelta ( seconds = ( self . dur / 1000.0 ) ) ) , self . nfrs ) #NEWLINE# for ( i , sub ) in enumerate ( self . subregions ) : #NEWLINE# #INDENT# s += '  {} {}\n' . format ( '{0:02d}' . format ( i ) , i ) #NEWLINE# #UNINDENT# s += ']' #NEWLINE# return s