diff vamp/collect.py @ 145:61834f9c4e46

This should strictly be a generator expression (thanks Lucas), though it doesn't make a real difference here
author Chris Cannam
date Tue, 08 Nov 2016 09:34:01 +0000
parents 79b050ca2fc2
children 65eeb604253f
line wrap: on
line diff
--- a/vamp/collect.py	Tue Jul 21 17:20:49 2015 +0100
+++ b/vamp/collect.py	Tue Nov 08 09:34:01 2016 +0000
@@ -69,7 +69,7 @@
 
     output = output_desc["identifier"]
     
-    selected = [ r[output] for r in results ]
+    selected = ( r[output] for r in results )
 
     stamped = timestamp_features(sample_rate, step_size, output_desc, selected)