generated from pyiron/pyiron_module_template
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
@ligerzero-ai and I had the chance to chat today. When I asked him where pain points are, one of the things that came up was that new users often struggle with the fact that macro-defining functions are not being run when the macro is run -- they expect them to be more like @as_function_node
behaves.
Now, since macros are always just going to run their graph at runtime, I think it's necessary to maintain that the macro decorators are placed on their recipe -- but I absolutely agree we can and should make this distinction clearer by more distinctive and informative decorator names.
Right now, I'm thinking
@as_function_node
-->@as_node_function
@as_macro_node
-->@as_macro_recipe
@as_dataclass_node
-->@as_dataclass_node
Any other ideas? @samwaseda you have contact with new users too, any suggestions from your end?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request