← all publishers

cuthbertlab

@cuthbertlab source repo

4 published skills

  1. Reindex Text · cuthbertlab
    Re-index the sung text of a Piece that already exists in the emmsap database. Use when a musicxml/mxl file was updated or re-imported and its Text row is stale, or the user says "reindex the text(s) from piece <id>", "re-run text indexing for <piece>". The normal index_texts.main() only touches pieces with NO text, so an existing Piece must have its Text row deleted and rebuilt. Runs against the live DB via Django shell.
    0
    installs
  2. Bump Version · cuthbertlab
    When and how to bump music21's version number. Use this whenever a change warrants a new version — especially any change to a parsing format or parser (musicxml, abc, MIDI, noteworthy/NWC, humdrum, etc.), since those invalidate the pickled-stream cache — as well as new features and bug fixes. Covers which digit to change, the even/odd minor and beta-suffix conventions, the TWO files to edit, and the `Changed in`/`New in` docstring markers.
    0
    installs
  3. Writing Docs · cuthbertlab
    House style for music21 prose: docstrings, comments, and `Changed in`/`New in` markers. Read before writing any of them. Sets the length target, the voice, and where a bug fix's test belongs.
    0
    installs
  4. Running Tests · cuthbertlab
    How to run music21's tests and doctests and judge pass/fail: pytest for one module, the project's own runners for the whole suite. Read it before running tests, and before calling any doctest failure real.
    0
    installs