Skip to content

GABC converter: crash on empty header value #21

Description

@igneus
from music21 import converter
import chant21

gabc = """name: Empty header value MVP;
annotation:;
%%
(c4) la(h)"""

converter.parse('gabc: ' + gabc)

results in arpeggio.NoMatch: Expected attribute_value at position (2, 12) => 'nnotation:*; %% (c4) '.

The same happens if a header value consists solely of one or more spaces.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions