Skip to content

Commit aa9780a

Browse files
authored
Merge pull request #1888 from cuthbertLab/backport_v9
m21_9: Fix MIDI.css bug, uv.lock, gitignore
2 parents 4dba213 + c3eac88 commit aa9780a

7 files changed

Lines changed: 982 additions & 19 deletions

File tree

.github/scripts/install_ubuntu_deps.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -e # error if anything returns non-zero exit code
44
# needed for some tests that add Desktop
55
mkdir ~/Desktop
66

7+
sudo apt-get update
78
sudo apt-get install -y libpng-dev
89
# sudo apt-get install -y python3-pyqt5
910
wget -q https://lilypond.org/download/binaries/linux-64/lilypond-2.22.1-1.linux-64.sh

.gitignore

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ __pycache__/
66
.mypy_cache/**
77
**/.mypy_cache/**
88

9-
# PyCharm
10-
# Keep some to help new users...
9+
# PyCharm ignore
10+
# Keep the dictionary to help new users...
1111
.idea/codeStyles
1212
.idea/dictionaries/*
1313
!.idea/dictionaries/music21.xml
@@ -69,34 +69,31 @@ nosetests.xml
6969
/.vscode
7070
*.code-workspace
7171

72-
# remove all from autogenerated except conf.py
72+
# remove all from autogenerated except conf.py and index.rst
7373
documentation/autogenerated/**/*
7474
documentation/autogenerated/**/*.png
7575
!documentation/autogenerated/conf.py
7676
!documentation/autogenerated/index.rst
7777
documentation/build/**/*
78-
7978
**-checkpoint.ipynb
8079
documentation/source/usersGuide/.ipynb_checkpoints
8180
documentation/source/usersGuide/.ipynb_checkpoints/**
8281

83-
documentation/source/tutorials/MersenneDemo.rst
84-
documentation/source/tutorials/MersenneDemo_files/_fig_01.png
85-
documentation/source/tutorials/MersenneDemo_files/_fig_03.png
86-
documentation/source/tutorials/MersenneDemo_files/_fig_05.png
87-
88-
.pylintrc~
89-
90-
.cache/v/cache/lastfailed
91-
92-
.cache/v/cache/lastfailed
93-
9482
.ropeproject/config.py
9583
.pytest_cache
9684
.pytest_cache/**
9785
music21/monkeytype.sqlite3
9886
.pytest_cache/v/cache/nodeids
9987
.pytest_cache/v/cache/lastfailed
100-
.pytest_cache/v/cache/nodeids
10188
.dmypy.json
89+
90+
# Emacs backups
10291
*.txt~
92+
*.py~
93+
.ai/
94+
.cadence/
95+
96+
97+
# agents
98+
.agents/worktrees
99+
.claude/worktrees

music21/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
'''
5151
from __future__ import annotations
5252

53-
__version__ = '9.9.1'
53+
__version__ = '9.9.2'
5454

5555
def get_version_tuple(vv):
5656
v = vv.split('.')

music21/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<class 'music21.base.Music21Object'>
2828
2929
>>> music21.VERSION_STR
30-
'9.9.1'
30+
'9.9.2'
3131
3232
Alternatively, after doing a complete import, these classes are available
3333
under the module "base":

music21/ipython21/converters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def displayMusic21jMIDI(
160160
display(HTML('''
161161
<div id="''' + outputId + '''"></div>
162162
<link rel="stylesheet" href="https://cuthbertLab.github.io/music21j/css/m21.css">
163+
<link rel="stylesheet" href="https://cuthbertLab.github.io/music21j/css/midiPlayer.css">
163164
''' + load_require_script + '''
164165
<script>
165166
function ''' + outputId + '''_play() {

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ flake8-quotes>=3.3.2
77
hatch
88
hatchling
99
jupyter
10-
mypy>=1.16.0
10+
mypy==1.16.1
1111
nbconvert
1212
nbval
1313
pylint>=3.2.0

uv.lock

Lines changed: 964 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)