def get_allen_relation(duration1, duration2):
	"""Generates an Allen interval algebra relation between two discrete durations of time

	:param duration1: First duration of time (start_frame, end_frame)
	:type duration1: tuple
	:param duration2: Second duration of time (start_frame, end_frame)
	:type duration2: tuple
	"""

	is1, ie1 = duration1
	is2, ie2 = duration2

	if is2-1 == ie1:
		return 'm'
	elif is1-1 == ie2:
		return 'mi'

#	elif is1 == is2 and ie1 == ie2:
#		return '='

	elif is2 > ie1:
		return '<'
	elif is1 > ie2:
		return '>'

	### I INCLUDED THIS !!
	else: 
		return 'o'