Expand tables to include other NWB items (e.g., pharmacology, slices)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách đọc element-lab PR 11 và ví dụ commons/virus.py được liên kết, sau đó kiểm tra element_session.session.Session và entry point được đề xuất SessionGeneral_to_nwb_dict. Xác định cách ánh xạ dữ liệu về dược lý, slices, phẫu thuật và virus vào các bảng session và quá trình xuất NWB; công việc được hoàn tất khi có schema đã thống nhất và các giá trị được xuất tương ứng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- NWB items discussed as part of
element-labPR 11 could be included inelement-session. - Viruses, in particular, could be fully specified by a separate schema, example here.
#example table definition
pharmacology = '' : varchar(2048) # Drugs used, how/when administered
slices='' : varchar(2048) # If slicing, preparation thickness, orientation, temperature, and bath solution
surgery='' : varchar(2048) # Description of surger(y/ies), who performed, when relative to other events
->virus.Viruses='' : varchar(2048) # ID, source, date made, injection loc, volume
# example export feature
def SessionGeneral_to_nwb_dict(session_key=None):
"""
Generate a dictionary object containing relevant project information
(e.g., experimental description, related publications, etc.).
:param session_key: Key specifying one entry in element_session.Session
:return: dictionary with NWB parameters
"""
if session_key is not None:
sess_info = (session.Session & session_key).fetch1()
return dict(
pharmacology=sess_info.get('pharmacology', ''),
slices=sess_info.get('slices', ''),
source_script=sess_info.get('repositoryurl', ''),
surgery=sess_info.get('surgery', ''),
virus=sess_info.get('virus', '') # needs more specification
)
else: return {}
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 17
- 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
- Có Dockerfile hoặc 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 datajoint/element-session
-
longblob silently stores str(array) under DataJoint 2.x — 2 affected attributes, no error raisedĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
datajoint/element-session#43 · 2 bình luận ·
Tất cả issue của datajoint/element-session
Issue tương tự
-
enhancement good first issue Stellar Wave trivial
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
StellarCanary/ProtocolCanary-Fixtures#258 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
github_actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Hochfrequenz/aibap.mcp#578 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
mishraprafful/multihull#150 ·
Maintainer thường phản hồi trong vòng 1 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 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
python-caldav/caldav#735 ·
Maintainer thường phản hồi trong vòng 1 ngày