Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrachten committed Nov 3, 2019
1 parent 22afa32 commit 50d8ee9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions partitura/score.py
Original file line number Diff line number Diff line change
Expand Up @@ -1863,11 +1863,6 @@ def grace_seq_len(self):
return (sum(1 for _ in self.iter_grace_seq(backwards=True))
+ sum(1 for _ in self.iter_grace_seq())
- 1) # subtract one because self is counted twice
# return (len(list(self.iter_grace_seq(backwards=True))),
# + len(list(self.iter_grace_seq())),
# - 1) # subtract one because self is counted twice
# return (len(list(self.iter_grace_seq(backwards=True)))
# - 1) # subtract one because self is counted twice

def iter_grace_seq(self, backwards=False):
"""Iterate over this and all subsequent/preceding grace notes,
Expand Down

0 comments on commit 50d8ee9

Please sign in to comment.