Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add executor for WorkGraph task #292

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

superstar54
Copy link
Member

@superstar54 superstar54 commented Sep 5, 2024

Fix #285 .

The WorkGraph task is a built-in task, and the WorkGraphEngine will be used as the executor, therefore, we don't need read it from the executor, but, for consistency, we also add the path and name for WorkGraphEngine.

@superstar54 superstar54 force-pushed the fix/285/add_executor_for_workgraph_task branch from c7b3157 to dd266f9 Compare September 5, 2024 10:39
@codecov-commenter
Copy link

codecov-commenter commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.73%. Comparing base (5937b88) to head (dd266f9).
Report is 60 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #292      +/-   ##
==========================================
+ Coverage   75.75%   79.73%   +3.98%     
==========================================
  Files          70       65       -5     
  Lines        4615     4921     +306     
==========================================
+ Hits         3496     3924     +428     
+ Misses       1119      997     -122     
Flag Coverage Δ
python-3.11 79.65% <ø> (+3.99%) ⬆️
python-3.12 79.65% <ø> (?)
python-3.9 79.69% <ø> (+3.95%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@agoscinski agoscinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks tried out, fixes the issue for me!

@superstar54 superstar54 merged commit 2bb7290 into main Sep 6, 2024
8 checks passed
@superstar54 superstar54 deleted the fix/285/add_executor_for_workgraph_task branch September 6, 2024 17:44
GeigerJ2 pushed a commit to GeigerJ2/aiida-workgraph that referenced this pull request Sep 13, 2024
GeigerJ2 added a commit to GeigerJ2/aiida-workgraph that referenced this pull request Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nested WorkGraph: Error in loading executor: a bytes-like object is required, not 'NoneType
3 participants