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

Polish macro creation #29

Merged
merged 7 commits into from
Nov 26, 2024
Merged

Polish macro creation #29

merged 7 commits into from
Nov 26, 2024

Conversation

Tara-Lakshmipathy
Copy link
Contributor

Create macros interactively using gui. create_macro.py is a placeholder till a further polished method is implemented in pyiron_workflow. Tested for some macros and seems stable. Further testing and bug reports from others are welcome. Current implementation does not replace nodes with a macro. Rather a macro is saved to file which has to be inserted into the workflow manually (after re-instantiation of the PyironFlow widget). This step could be automated in the future when the treeview widget is updated dynamically.

@Tara-Lakshmipathy
Copy link
Contributor Author

The current implementation has the limitation that it does not re-order the input fields which can lead to, in some cases, unintuitive macros, and in some edge cases, nonsensical macros. This functionaility should ideally be offloaded to pyiron_workflow

@Tara-Lakshmipathy
Copy link
Contributor Author

Merging for now so that we have a working conda install from main.

@Tara-Lakshmipathy Tara-Lakshmipathy merged commit 7dc2c10 into main Nov 26, 2024
2 checks passed
@Tara-Lakshmipathy Tara-Lakshmipathy deleted the polish_macro_creation branch November 26, 2024 14:03
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.

1 participant