From c2dafbe5ed00a5ee95c461a4264e88f041dc5bdf Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Sat, 9 Feb 2008 13:45:21 +0100 Subject: [PATCH] MusicXML: Oops, forgot to remove debug output --- scripts/musicxml2ly.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index b7460dced4..d826574784 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -1042,6 +1042,8 @@ def musicxml_accordion_to_markup (mxl_event): """ middle = mxl_event.get_maybe_exist_named_child ('accordion-middle') if middle: + # By default, use one dot (when no or invalid content is given). The + # MusicXML spec is quiet about this case... txt = 1 try: txt = string.atoi (middle.get_text ()) @@ -1077,8 +1079,8 @@ def musicxml_accordion_to_markup (mxl_event): command += "\musicglyph #\"accordion.accDiscant\"" command = "\\markup { \\normalsize %s }" % command + # Define the newly built command \accReg[H][MMM][L] additional_definitions[commandname] = "%s = %s" % (commandname, command) - print additional_definitions needed_additional_definitions.append (commandname) return "\\%s" % commandname -- 2.39.5