Develop `Context` class in context.py
Một pull request liên quan đã được merge.
- #34 của @ubdbra001 — đã merge
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu trong context.py và so sánh surface được đề xuất của Context với tài liệu về protocol Context, sau đó lần theo Dataset và FileParts đối với các giá trị đã được xác định. Xác nhận phạm vi còn lại cho associations, ome và tiff cũng như cách các class liên quan của chúng nên được biểu diễn; hoàn thành nghĩa là Context bao quát protocol và expose các metadata tệp được liệt kê.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Python
- Star
- 10
- Fork
- 7
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bids-standard/python-validator
-
Add a structured issues model and emit findings from the filename validatorCó thể đã có người làm @karellopez đã nhận 82 ngày trước. Đang mởenhancement
bids-standard/python-validator#85 · 1 bình luận · 1 người được giao ·
-
Populate associations contextCó thể làm lại được @ubdbra001 đã nhận 115 ngày trước và không có pull request nào đang mở. Đang mở
bids-standard/python-validator#82 · 1 bình luận · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
performance
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Validate DerivativesCó thể đã có người làm @bendhouseart đã nhận 298 ngày trước. Đang mởenhancement
bids-standard/python-validator#62 · 1 người được giao ·
Tất cả issue của bids-standard/python-validator
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Claiming namespace `thejakia1`Đang mởnamespace operations
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
EclipseFdn/open-vsx.org#15057 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mission statement: why this is free, in the README, Why This Exists and the wiki HomeCó thể đã có người làm @ChiefGyk3D đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ChiefGyk3D/Clouds-Against-Humanity#348 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Perf] Default --vllm-watermark 0.05 for rollouts (hybrid models re-preempt under KV pressure)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
vllm-project/vime#508 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày