Fixed last-dotplot axis labels for breaking change in Pillow 3.0.
authorMartin C. Frith
Fri Sep 16 09:51:53 2016 +0900 (2016-09-16)
changeset 756a0074597cb5d
parent 755 d48e9d4a7268
child 757 64ac7ea995de
Fixed last-dotplot axis labels for breaking change in Pillow 3.0.
doc/lastal.txt
doc/lastdb.txt
scripts/last-dotplot
     1.1 --- a/doc/lastal.txt	Thu Sep 01 18:25:37 2016 +0900
     1.2 +++ b/doc/lastal.txt	Fri Sep 16 09:51:53 2016 +0900
     1.3 @@ -224,7 +224,8 @@
     1.4  
     1.5    -k STEP
     1.6        Look for initial matches starting only at every STEP-th position
     1.7 -      in the query.  This makes lastal faster but less sensitive.
     1.8 +      in each query (positions 0, STEP, 2×STEP, etc).  This makes
     1.9 +      lastal faster but less sensitive.
    1.10  
    1.11    -W SIZE
    1.12        Look for initial matches starting only at query positions that
     2.1 --- a/doc/lastdb.txt	Thu Sep 01 18:25:37 2016 +0900
     2.2 +++ b/doc/lastdb.txt	Fri Sep 16 09:51:53 2016 +0900
     2.3 @@ -78,10 +78,10 @@
     2.4  
     2.5    -w STEP
     2.6        Allow initial matches to start only at every STEP-th position in
     2.7 -      each of the sequences given to lastdb.  This reduces the memory
     2.8 -      usage of lastdb and lastal, and it makes lastdb faster.  Its
     2.9 -      effect on the speed and sensitivity of lastal is not entirely
    2.10 -      clear.
    2.11 +      each of the sequences given to lastdb (positions 0, STEP,
    2.12 +      2×STEP, etc).  This reduces the memory usage of lastdb and
    2.13 +      lastal, and it makes lastdb faster.  Its effect on the speed and
    2.14 +      sensitivity of lastal is not entirely clear.
    2.15  
    2.16    -W SIZE
    2.17        Allow initial matches to start only at positions that are
     3.1 --- a/scripts/last-dotplot	Thu Sep 01 18:25:37 2016 +0900
     3.2 +++ b/scripts/last-dotplot	Fri Sep 16 09:51:53 2016 +0900
     3.3 @@ -350,7 +350,7 @@
     3.4                                 font, image_mode, opts)
     3.5          axis2 = get_axis_image(seq_names2, name_sizes2, seq_starts2, seq_pix2,
     3.6                                 font, image_mode, opts)
     3.7 -        axis2 = axis2.rotate(270)
     3.8 +        axis2 = axis2.rotate(270, expand=1)
     3.9          im.paste(axis1, (0, 0))
    3.10          im.paste(axis2, (0, 0))
    3.11