Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Unable to Implement Workflow Class due to functions lacking attribute '_run_types'

Đang mở
#152 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện cách sử dụng Workflow đã được báo cáo với các hàm trong thư mục Methods và kiểm tra nơi lớp Workflow yêu cầu thuộc tính _run_types. Kiểm tra cách các hàm drift correction, parameter sweep và eSRRF khai báo hoặc chọn các kiểu chạy; được xem là hoàn thành khi việc sử dụng được hỗ trợ hoặc một bản sửa lỗi được xác nhận, bao gồm cả cách kiểm soát việc chọn kiểu chạy nếu được hỗ trợ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Nanopyx Team,

Thank you for your thorough documentation and expansive library of high quality code. I have been testing several features of the library and ran into an issue with the Workflow class. When I try to wrap different functions, including their args and kwargs, from the Methods folder within the Workflow instance, I run into an attribute error stating that the 'function' object has no attribute '_run_types'. Perhaps, I am using functions incompatible with the Workflow class.

Below is the block of code raising the issue and the traceback:

Image Image

I was hoping to use a Workflow instance to streamline my multi-step analysis (drift correction -> parameter sweep -> eSRRF), and would appreciate any pointers on implementation.

At the same time, the agent appears to chose random run types (often landing on threaded_guided despite significantly longer run times) for parameter sweep and drift correction functions, so I was hoping there might be a method to globally force a run type if the Workflow Class is incompatible with the Methods functions I am using. Any clarification/guidance would be much appreciate!

Thank you for your time,

Jake

Ngôn ngữ chính
Jupyter Notebook
Star
93
Fork
14
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của HenriquesLab/NanoPyx

Tất cả issue của HenriquesLab/NanoPyx

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.