Closed JaGeo closed 2 months ago
Hi @JaGeo
Not sure if it is a bug but at least it is definitely a use case. Somehow what's missing is the dynamic application of the append procedure, similar to e.g. what is done with update_metadata (in which there is a dynamic argument, by default True).
I'll let @utf comment on this but it seems reasonable to add this feature.
I agree with @davidwaroquiers, we could add a dynamic
option as we did here: https://github.com/materialsproject/jobflow/blob/11034dd00ad0ed64a027560a4f040c5b8c657193/src/jobflow/core/job.py#L935-L937
@utf @davidwaroquiers adding a dynamic option would be great and would help with solving my issue.
I guess it would be good (and more consistent) to also add the same filtering options. Should then this stay within append_name or be a new update_name method?
I am trying to implement a more complex workflow (see https://github.com/materialsproject/atomate2/pull/903). I need to renae jobs to work on the corresponding tests.
This results in
Is there another way to rename that I am overlooking? I would have hoped that "my_function" also gets renamed.