Skip to content

Commit

Permalink
flakey
Browse files Browse the repository at this point in the history
  • Loading branch information
mscuthbert committed May 2, 2022
1 parent d4a09b0 commit 62d016a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions music21/pitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -4932,8 +4932,7 @@ def none_to_natural():
and pPast.name != pSelf.name
and pPast.accidental.name != 'natural'
and (pSelf.accidental is None
or pSelf.accidental.displayStatus is False)
):
or pSelf.accidental.displayStatus is False)):
if octaveMatch is False and cautionaryPitchClass is False:
continue

Expand All @@ -4960,8 +4959,7 @@ def none_to_natural():
elif (pPast.accidental is not None
and pSelf.accidental is not None
and pPast.accidental.name != pSelf.accidental.name
and (octaveMatch or pSelf.accidental.displayType != 'if-absolutely-necessary')
):
and (octaveMatch or pSelf.accidental.displayType != 'if-absolutely-necessary')):
acc.displayStatus = True
setFromPitchPast = True
break
Expand Down

0 comments on commit 62d016a

Please sign in to comment.