New in version 1.1.
Change rational to equal or greater assignable rational:
abjad> from abjad.tools import durationtools
abjad> for n in range(1, 17): # doctest: +SKIP
... prolated = Fraction(n, 16)
... written = durationtools.rational_to_equal_or_greater_assignable_rational(prolated)
... print '%s/16\t%s' % (n, written)
...
1/16 1/16
2/16 1/8
3/16 3/16
4/16 1/4
5/16 3/8
6/16 3/8
7/16 7/16
8/16 1/2
9/16 3/4
10/16 3/4
11/16 3/4
12/16 3/4
13/16 7/8
14/16 7/8
15/16 15/16
16/16 1
Return fraction.
Function returns dotted and double dotted durations where possible.
Changed in version 2.0: Fixed to produce monotonically increasing output in response to monotonically increasing input.
Changed in version 2.0: renamed durationtools.prolated_to_written_not_less_than() to durationtools.rational_to_equal_or_greater_assignable_rational().