Develop `Context` class in context.py
関連するプルリクエストがすでにマージされています。
- #34 @ubdbra001 による — マージ済み
評価
調査の方向性
context.py から始め、提案されている Context のサーフェスと Context プロトコルのドキュメントを比較し、その後、すでに特定されている値について Dataset と FileParts をたどります。associations、ome、tiff に残っている範囲と、それらに関連するクラスをどのように表現すべきかを確認します。完了とは、Context がプロトコルをカバーし、一覧にあるファイルメタデータを公開していることを意味します。
索引モデルが issue の本文から書いたものです。
説明
The Context class needs to be added, and functionality needs to be developed.
It should reflect the protocols listed here
This class reflects the context for an individual file in a dataset, and so should be instantiated with path to the file in question and the Dataset object for that file.
Functionality that needs to be added:
-
schema: Can be accessed fromDatasetobject -
dataset: Passed on creation -
subject: From entities? Need to developSubjectclass? -
path: Generated in theFilePartsobject -
size:os.path.getsize()? -
entities: Generated in theFilePartsobject -
datatype: Generated in theFilePartsobject -
suffix: Generated in theFilePartsobject -
extension: Generated in theFilePartsobject -
modality: From datatype? -
sidecar: Needs to useload_sidecarand `walk_back'? -
associations: Need to developAssociationsclass -
columns: If the current file has.tsvextesion then parse? What to use to parse? -
json: If current file has.jsonextension then parse usingJSONmodule? -
gzip: Python has in-builtgzipmodule, not sure how to read the header specifically. Need to developGZipclass? -
nifti_header: Need to developNiftiHeaderclass. Can usenibabelfor most of this, will likely need guidance. -
ome: Need to developOmeclass. Never heard of OME before, so will need guidance. -
tiff: Need to developTiffclass
I'll start work on the parts that don't require additional classes, but as suggested I'll create stubs for everything else.
@effigies does this look broadly correct?
- 主要言語
- Python
- スター
- 10
- フォーク
- 7
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bids-standard/python-validator のほかの issue
-
Add a structured issues model and emit findings from the filename validator対応中かも @karellopez が 81 日前に担当しました。 オープンenhancement
bids-standard/python-validator#85 · コメント 1 件 · 担当者 1 名 ·
-
Populate associations context再び着手できるかも @ubdbra001 が 115 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
bids-standard/python-validator#82 · コメント 1 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
performance
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
Validate Derivatives対応中かも @bendhouseart が 298 日前に担当しました。 オープンenhancement
bids-standard/python-validator#62 · 担当者 1 名 ·
bids-standard/python-validator の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pydantic/pydantic-ai#12091 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
CSS enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pychess/pychess-variants#2448 ·
メンテナーはふだん 1 日以内に返信
-
Bump locked PyTensor so Apple clang 21 does not pass -ld64対応中かも @drbenvincent が今日担当しました。 オープンbug dev ops
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 2 日以内に返信
-
ai_p2 bug comp-datalake
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ClickHouse/ClickHouse#128306 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信