False positive invalid condition ID.
@dilpath がすでに取り組んでいます。
2020年11月10日 から。
評価
この issue はまだ評価されていません。
説明
Which problem would you like to address? Please describe.
Linting complains about invalid condition IDs. I believe the error is due to the fact that the condition id is numeric only. Ideally the error would be a bit more informative what the actual issue is with the condition ID.
Describe the solution you would like
Change the spec to be more accurate about identifier restrictions or change linting to be more permissive about identifiers.
Describe alternatives you have considered
Don't use numbers in identifiers.
Additional context
Can be checked via check_condition_df(pd.DataFrame({petab.CONDITION_ID: ['0']}).set_index(petab.CONDITION_ID), None).
Not sure how much sense it makes to print line numbers when operating with a DataFrame.
Typehints in check_condition_df are inconsistent with the function signature, i.e., sbml_model is not and optional argument.
- 主要言語
- Python
- スター
- 18
- フォーク
- 9
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PEtab-dev/libpetab-python のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PEtab-dev/libpetab-python#518 ·
-
validation
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
PEtab-dev/libpetab-python#494 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
PEtab-dev/libpetab-python#466 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
PEtab-dev/libpetab-python#453 ·
-
documentation
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
PEtab-dev/libpetab-python#439 ·
PEtab-dev/libpetab-python の issue をすべて見る
似ている issue
-
link-check link-check:sphinx-theme
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenHands/extensions#626 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
CSCfi/sd-search-api#39 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100