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

Refactor task's data, bumps node-graph to 0.0.19 #304

Merged
merged 5 commits into from
Sep 12, 2024

Conversation

superstar54
Copy link
Member

@superstar54 superstar54 commented Sep 12, 2024

This PR bumps node-graph to 0.0.19, so that we don't need to pickle the node-class:

  1. inputs and outputs to dict
  2. keep property inside input
  3. use the module and name for the node_class and executor

change properties is a list in to_dict
1) inputs and outputs to dict
2) keep property inside input
3) use path and name for the node_class
@codecov-commenter
Copy link

codecov-commenter commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 88.23529% with 22 lines in your changes missing coverage. Please review.

Project coverage is 80.39%. Comparing base (5937b88) to head (4dd8794).
Report is 67 commits behind head on main.

Files with missing lines Patch % Lines
aiida_workgraph/utils/__init__.py 80.35% 11 Missing ⚠️
aiida_workgraph/engine/workgraph.py 81.08% 7 Missing ⚠️
aiida_workgraph/property.py 0.00% 1 Missing ⚠️
aiida_workgraph/socket.py 0.00% 1 Missing ⚠️
aiida_workgraph/utils/analysis.py 87.50% 1 Missing ⚠️
aiida_workgraph/widget/src/widget/__init__.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #304      +/-   ##
==========================================
+ Coverage   75.75%   80.39%   +4.64%     
==========================================
  Files          70       66       -4     
  Lines        4615     4999     +384     
==========================================
+ Hits         3496     4019     +523     
+ Misses       1119      980     -139     
Flag Coverage Δ
python-3.11 80.31% <88.23%> (+4.64%) ⬆️
python-3.12 80.31% <88.23%> (?)
python-3.9 80.35% <88.23%> (+4.61%) ⬆️

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.

@superstar54 superstar54 force-pushed the keep_property_data_in_inputs branch from edd8852 to 4dd8794 Compare September 12, 2024 14:13
@superstar54 superstar54 changed the title Refactor task's data Refactor task's data, bumps node-graph to 0.0.19 Sep 12, 2024
@superstar54 superstar54 merged commit ffa1e21 into main Sep 12, 2024
7 of 8 checks passed
@superstar54 superstar54 deleted the keep_property_data_in_inputs branch September 12, 2024 14:18
GeigerJ2 pushed a commit to GeigerJ2/aiida-workgraph that referenced this pull request Sep 13, 2024
This PR bumps `node-graph` to 0.0.19, so that we don't need to pickle the `node-class`:
1) inputs and outputs to dict
2) keep property inside input
3) use the `module` and `name` for the node_class and executor
GeigerJ2 added a commit to GeigerJ2/aiida-workgraph that referenced this pull request Sep 13, 2024
This PR bumps `node-graph` to 0.0.19, so that we don't need to pickle the `node-class`:
1) inputs and outputs to dict
2) keep property inside input
3) use the `module` and `name` for the node_class and executor
agoscinski pushed a commit that referenced this pull request Sep 19, 2024
This PR bumps `node-graph` to 0.0.19, so that we don't need to pickle the `node-class`:
1) inputs and outputs to dict
2) keep property inside input
3) use the `module` and `name` for the node_class and executor
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.

2 participants