The check command provides a stricter verification path for development and CI.

Syntax

partitura check <input>

Arguments

Argument Required Description
<input> Yes Input file (.pta, .xml, .musicxml, or .mxl)

Supported Input Formats

Extension Format
.pta Partitura source
.xml Uncompressed MusicXML
.musicxml Uncompressed MusicXML
.mxl Compressed MusicXML

Examples

# Check .pta source
partitura check score.pta

# Check MusicXML in CI
partitura check score.musicxml

Requirements

Behavior

The check command is stricter than validate and is designed for CI pipelines. It runs additional checks beyond basic validation, such as:

Exit Codes

Code Meaning
0 All checks passed
1 One or more checks failed
2 Usage error

See Also