(sequence_tuples)
return sequences
Convert list of sequence tuples to list of athena Sequence objects
        :param sequence_tuples:  [(id, name, project, description)]
        :return:
Convert list of sequence tuples to list of athena Sequence objects
        :param sequence_tuples:  [(id, name, project, description)]
        :return:
Convert list of sequence tuples to list of athena Sequence objects : param sequence_tuples : [ ( id name project description ) ] : return :
def convert_to_sequence(sequence_tuples):
        """
        Convert list of sequence tuples to list of athena Sequence objects
        :param sequence_tuples:  [(id, name, project, description)]
        :return:
        """

        sequences = []

        for sequence_tuple in sequence_tuples:
            sequence = Sequence(sequence_tuple[1], sequence_tuple[2])
            sequence.id = sequence_tuple[0]
            sequence.description = sequence_tuple[3]
            sequences.append(sequence)

        return sequences
def convert_to_sequence ( sequence_tuples ) : sequences = [ ] for sequence_tuple in sequence_tuples : sequence = Sequence ( sequence_tuple [ 1 ] , sequence_tuple [ 2 ] ) sequence . id = sequence_tuple [ 0 ] sequence . description = sequence_tuple [ 3 ] sequences . append ( sequence ) return sequences