From 2cb1fdc9b2b7a2464d2b6be22306b190120ffc5a Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Wed, 4 Jul 2012 23:02:08 -0700 Subject: [PATCH] Remove check that avoids using holes on finals I distinctly remembmer adding that check in order to combat some misaligned transitions, and testing it by hand to ensure that it worked. Now I'm kicking myself for not having a test suite. Really, though, what we need is to hook up CV libraries to deal with some of these questions automatically. --- cuburn/genome/blend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuburn/genome/blend.py b/cuburn/genome/blend.py index 862abae..7ac8ed6 100644 --- a/cuburn/genome/blend.py +++ b/cuburn/genome/blend.py @@ -229,7 +229,7 @@ def padding_xform(xf, isfinal): xout['post_affine'] = {'angle': 135, 'spread': 135} for k in xf.get('variations', {}): - if k in hole_variations and not isfinal: + if k in hole_variations: # Attempt to correct for some known-ugly variations. xout['pre_affine']['angle'] += 180 vars['linear'] = dict(weight=-1)