Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Nonexistent method recommended in docs

オープン
#1,645 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
documentation

調査の方向性

The bad reference is in music21/humdrum/spineParser.py near line 91, where the docstring points to humdrum.parseFile. Read that module and the other entry points in music21/humdrum to find the function that actually parses a kern file. Done when the docstring names a function that exists and a short example takes a kern file to a parsed stream, ideally checked by a doctest or a test in the humdrum tests.

索引モデルが issue の本文から書いたものです。

説明

music21 version

9.2.0b1

Problem summary

The documentation recommends a method that does not exist.

Steps to reproduce
humdrum.parseFile does not exist but it is recommended in the docs here:
https://github.com/cuthbertLab/music21/blob/80ed662651de43cc33a7e11fb499770c952aaabe/music21/humdrum/spineParser.py#L91

Paste minimal code example here. Most issues can be reproduced with just a few elements.
Attach external files only after attempting to reproduce using a simple stream.

myStream1 = converter.parse('tinynotation: 4/4 c4 e4 g2')
myStream2 = stream.Stream()
myStream2.insert(note.Rest(0.5))

Expected vs. actual behavior
It would be helpful if there were at least one example of how to parse a humdrum file going from a file all the way to the more specific methods. By this I mean for the music21.humdrum approach to parsing kern files, not the more general converter.parse which already has these sorts of examples.

More information

I am happy to submit a PR for this once I figure out how to import kern files using music21.humdrum.

主要言語
Python
スター
2.6k
フォーク
459
平均マージ
1日 8時間
マージ済み PR(30日)
39

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cuthbertLab/music21 のほかの issue

cuthbertLab/music21 の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。