Skip to content

Commit

Permalink
update length test for voices in p type hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardFreedman committed Aug 3, 2023
1 parent 4845ded commit 104753f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intervals/main_objs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2944,7 +2944,7 @@ def presentationTypes(self, melodic_ngram_length=4, limit_to_entries=True,
points_combined["Number_Entries"] = points_combined["Offsets"].apply(len)
points_combined["Count_Offsets"] = points_combined["Offsets"].apply(set).apply(len)
points_combined = points_combined[points_combined["Count_Offsets"] > 1]
points_combined = points_combined[points_combined["Voices"].apply(len(set)) > 1]
points_combined = points_combined[points_combined["Voices"].apply(set).apply(len) > 1]
if len(points_combined) == 0:
print("No Presentation Types Found in " + self.metadata['composer'] + ":" + self.metadata['title'])
else:
Expand Down

0 comments on commit 104753f

Please sign in to comment.