Skip to content

Commit 54e8876

Browse files
Don't splitAtDurations() if makeNotation=False
1 parent 295653a commit 54e8876

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

music21/musicxml/m21ToXml.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2547,9 +2547,6 @@ def parse(self):
25472547
elif not self.stream.getElementsByClass(stream.Measure):
25482548
raise MusicXMLExportException(
25492549
'Cannot export with makeNotation=False if there are no measures')
2550-
else:
2551-
# QUESTION: destructive edit OK with makeNotation=False?
2552-
self.stream = self.stream.splitAtDurations(recurse=True)[0]
25532550

25542551
# make sure that all instances of the same class have unique ids
25552552
self.spannerBundle.setIdLocals()

0 commit comments

Comments
 (0)