From 5300f6206394c7dac2b1a9e88a4219dc4c852ee2 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Tue, 11 Aug 2015 05:51:58 -0500 Subject: [PATCH] * don't eat up horns part if specified --- ruby/lib/jam_ruby/jam_track_importer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruby/lib/jam_ruby/jam_track_importer.rb b/ruby/lib/jam_ruby/jam_track_importer.rb index aaf12de70..8b34c99a6 100644 --- a/ruby/lib/jam_ruby/jam_track_importer.rb +++ b/ruby/lib/jam_ruby/jam_track_importer.rb @@ -501,7 +501,7 @@ module JamRuby part = 'Clock' elsif potential_instrument == 'horns' || potential_instrument == 'horn' instrument = 'other' - part = 'Horns' + part = 'Horns' if potential_part.nil? elsif potential_instrument == 'english horn' instrument = 'other' part = 'English Horn' @@ -1650,7 +1650,7 @@ module JamRuby count+=1 end - if count > 100 + if count > 500 break end end