From 7a2680ab3d082e5d7571f34bcdfdb3058f2b1fb1 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Fri, 7 Nov 2008 12:56:53 +0100 Subject: [PATCH] MusicXML: For "Negative skip" messages, also print out the position of the problem --- scripts/musicxml2ly.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index 113552939c..2a48cd12c1 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -1623,7 +1623,8 @@ class LilyPondVoiceBuilder: diff = moment - current_end if diff < Rational (0): - error_message (_ ('Negative skip %s') % diff) + error_message (_ ('Negative skip %s (from position %s to %s)') % + (diff, current_end, moment)) diff = Rational (0) if diff > Rational (0) and not (self.ignore_skips and moment == 0): -- 2.39.2