From 36d6dc32d7822537731c8467cb7f5c254c3fe2df Mon Sep 17 00:00:00 2001 From: Cyril Li <76818434+CyrilSLi@users.noreply.github.com> Date: Thu, 12 May 2022 20:25:45 -0500 Subject: [PATCH] Fixed typo in import statement Changed "from Musicxml_parser..." to "from musicxml_parser..." on lines 23 and 24, fixing a ModuleNotFoundError --- musicxml_parser/scoreToPianoroll.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/musicxml_parser/scoreToPianoroll.py b/musicxml_parser/scoreToPianoroll.py index 8424b18..aa46b03 100755 --- a/musicxml_parser/scoreToPianoroll.py +++ b/musicxml_parser/scoreToPianoroll.py @@ -20,8 +20,8 @@ import re import os import tempfile -from Musicxml_parser.smooth_dynamic import smooth_dyn -from Musicxml_parser.totalLengthHandler import TotalLengthHandler +from musicxml_parser.smooth_dynamic import smooth_dyn +from musicxml_parser.totalLengthHandler import TotalLengthHandler mapping_step_midi = { 'C': 0, @@ -439,4 +439,4 @@ def scoreToPianoroll(score_path, quantization): if __name__ == '__main__': score_path = "/Users/leo/Recherche/GitHub_Aciditeam/database/Arrangement/SOD/OpenMusicScores/0/Belle qui tiens ma vie - Arbeau, Toinot .xml" quantization = 8 - pianoroll, articulation = scoreToPianoroll(score_path, quantization) \ No newline at end of file + pianoroll, articulation = scoreToPianoroll(score_path, quantization)