Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump lxml from 4.4.2 to 4.6.2 #127

Merged
merged 4 commits into from
Jan 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## tomato v0.14.1

- Bump lxml from 4.4.2 to 4.6.2 (Pull request [#127](https://github.com/sertansenturk/tomato/pull/127))
- Fix flake8 path

## tomato v0.14.0

- Added docker support (Pull request [#107](https://github.com/sertansenturk/tomato/pull/107))
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ json_tricks==3.12.1 # saving json files with classes and numpy arrays
eyeD3==0.8.11 # reading metadata embedded in the audio recordings
python-Levenshtein==0.12.0 # semiotic structure labeling similarity
networkx==1.11 # semiotic structure labeling clique computation
lxml==4.4.2 # musicxml conversion
lxml==4.6.2 # musicxml conversion
musicbrainzngs==0.6 # metadata crawling from musicbrainz
essentia==2.1b5;platform_system=='Linux' # music signal processing
2 changes: 1 addition & 1 deletion src/tomato/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.14.0"
__version__ = "0.14.1"
1 change: 1 addition & 0 deletions src/tomato/symbolic/symbtr/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

class GraphOperations:
_metrics = ['norm_levenshtein']

@staticmethod
def norm_levenshtein(str1, str2):
max_len = float(max([len(str1), len(str2)]))
Expand Down
7 changes: 4 additions & 3 deletions src/tomato/symbolic/symbtr/scoreprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ def get_lyrics_between(score, start_note, end_note):

@staticmethod
def get_all_symbtr_labels():
all_labels = [l for sub_list in
IO.load_music_data('symbtr_labels').values()
for l in sub_list]
all_labels = [
sl
for sub_list in IO.load_music_data('symbtr_labels').values()
for sl in sub_list]

return all_labels

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ skip_install = true

[testenv:flake8]
commands =
flake8 tomato
flake8 src/tomato
flake8 setup.py
deps =
flake8
Expand Down