(self, stopchar='|')
return sequence
Returns a single sequence in which all 
        paths have been concatenated. Individual 
        paths are separated by a stop character.

        @stopchar: The character used to separate paths
Returns a single sequence in which all 
        paths have been concatenated. Individual 
        paths are separated by a stop character.
Returns a single sequence in which all paths have been concatenated . Individual paths are separated by a stop character .
def getSequence(self, stopchar='|'):
        """
        Returns a single sequence in which all 
        paths have been concatenated. Individual 
        paths are separated by a stop character.

        @stopchar: The character used to separate paths
        """

        Log.add('Concatenating paths to sequence ...')

        sequence = []
        for l in self.paths:
            for p in self.paths[l]:
                segment = []
                for s in p:
                    segment.append(s)
                if not stopchar == '':
                    segment.append(stopchar)
                for f in range(self.paths[l][p][1]):
                    sequence += segment

        Log.add('finished')
        return sequence
def getSequence ( self , stopchar = '|' ) : Log . add ( 'Concatenating paths to sequence ...' ) sequence = [ ] for l in self . paths : for p in self . paths [ l ] : segment = [ ] for s in p : segment . append ( s ) if not stopchar == '' : segment . append ( stopchar ) for f in range ( self . paths [ l ] [ p ] [ 1 ] ) : sequence += segment Log . add ( 'finished' ) return sequence