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

Problem with Reindexing in the Cadence Classifier #20

Open
RichardFreedman opened this issue Jan 5, 2022 · 0 comments
Open

Problem with Reindexing in the Cadence Classifier #20

RichardFreedman opened this issue Jan 5, 2022 · 0 comments

Comments

@RichardFreedman
Copy link
Collaborator

Some, but not all pieces throw and error in the Cadence Classifier. I find this in VS Code and also in Jupyter NBs.

CRIM_Model_0001.mei, for instance, is a problem. CRIM_Model_0008 or CRIM_Model_0025 are not.

piece_id = 'CRIM_Model_0001'
ns = 'https://crimproject.org/mei/'
suff = '.mei'
piece = import_m21_score(ns + piece_id + suff)
cads = piece.classifyCadences()
cads

The error is: ValueError: cannot reindex from a duplicate axis

And it references Line 1140 of the main_objs.py fle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant