Skip to content

Commit

Permalink
Release 0.14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
donmai-me committed Dec 20, 2021
1 parent 12c7164 commit 709b44b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.14.3] - 2021-12-20
### Fixed
- Fixed exceptions raised when ma2 TouchHoldNote has a 0 length

### Changed
- Batch conversions will no longer continue when one fails.
- Program should no longer return exit code 0 for failed conversions.

## [0.14.2] - 2021-12-17
### Fixed
- Fixes ma2 export being offset by one measure
Expand Down Expand Up @@ -54,7 +62,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Ma2 to Sdt conversion and vice versa.
- Simai to Sdt conversion and vice versa.

[Unreleased]: https://github.com/donmai-me/MaiConverter/compare/0.14.2...HEAD
[Unreleased]: https://github.com/donmai-me/MaiConverter/compare/0.14.3...HEAD
[0.14.3]: https://github.com/donmai-me/MaiConverter/compare/0.14.2...0.14.3
[0.14.2]: https://github.com/donmai-me/MaiConverter/compare/0.14.1...0.14.2
[0.14.1]: https://github.com/donmai-me/MaiConverter/compare/0.14.0...0.14.1
[0.14.0]: https://github.com/donmai-me/MaiConverter/compare/0.13.0...0.14.0
Expand Down
4 changes: 2 additions & 2 deletions maiconverter/maima2/ma2note.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ def __init__(
>>> touch_tap = TouchHoldNote(1, 0, "C", 1.5)
"""
if duration <= 0:
raise ValueError(f"Hold duration is not positive: {duration} ")
if duration < 0:
raise ValueError(f"Hold duration is negative: {duration} ")
if size not in ["M1", "L1"]:
raise ValueError(f"Invalid size given: {size}")

Expand Down

0 comments on commit 709b44b

Please sign in to comment.