In musicxml2ly.py store the LilyPond version in one variable, lilypond_version.
elif self.non_standard_alterations:
alterations = [self.format_non_standard_alteration (a) for
a in self.non_standard_alterations]
- return "\\set Staff.keySignature = #`(%s)" % string.join (alterations, " ")
+ return "\\set Staff.keyAlterations = #`(%s)" % string.join (alterations, " ")
else:
return ''
from rational import Rational
+lilypond_version = "@TOPLEVEL_VERSION@"
+
# Store command-line options in a global variable, so we can access them everywhere
options = None
def main():
- global lilypond_version
- lilypond_version = "@TOPLEVEL_VERSION@"
opt_parser = option_parser()
global options