From f315b226fa3da4e0fcd0eb7662932a2804ac9ce7 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 22 Apr 2012 15:42:20 -0700 Subject: [PATCH] Remove dead code --- cuburn/genome/blend.py | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/cuburn/genome/blend.py b/cuburn/genome/blend.py index 09eabff..ef32869 100644 --- a/cuburn/genome/blend.py +++ b/cuburn/genome/blend.py @@ -248,34 +248,6 @@ def padding_xform(xf, isfinal): return xout -def blend_genomes(left, right, nloops=2, align='weightflip', seed=None, - stagger=False, blur=None, palflip=True): - align_xforms(left, right, align) - name = '%s=%s' % (left.info.get('name', ''), right.info.get('name', '')) - if seed is None: - seed = map(ord, name) - rng = np.random.RandomState(seed) - - blend = blend_splines(left, right, nloops, rng, stagger) - # TODO: licenses; check license compatibility when merging - # TODO: add URL and flockutil revision to authors - blend['info'] = { - 'name': name, - 'authors': sum([g.info.get('authors', []) for g in left, right], []) - } - blend['info']['authors'].append('flockutil') - blend['palettes'] = [get_palette(left, False), get_palette(right, True)] - blend['color']['palette_times'] = [0, "0", 1, "1"] - - if palflip: - checkpalflip(blend) - - if blur: - blur_palettes(blend, blur) - - return blend - - def halfhearted_human_sort_key(key): try: return int(key)