def merge(a, b): """ take in two sequences and return combined version if they fit together eats errors incase of 'None' input or strings """ ret = Filesequence("", [], "") if compare_seqs(a, b): ret.head = a.head ret.tail = b.tail ret.clips = a.clips + b.clips return ret else: return None