-
Notifications
You must be signed in to change notification settings - Fork 11
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
set_output_archive_period broken #8
Comments
Is this related to pyiron/pyiron#488 ? |
@jan-janssen, conceptually, yes. We allow individual dump frequencies for each input/output attribute; the linked issue allows either the base rate or no dumping. There's also some difference in motivation, where I think Sam was concerned with speed whereas we're more concerned with memory. But both share the principle of saving only the data the user really wants to save. The fact that the particular method My plan for fixing this is eventually to move to a Vertex-as-box model where the vertex sub-classes define input and output fields which then exist from instantiation. I'm still open to alternative architectures though, and implementing that plan is a ways off at the moment. |
@liamhuber Is this issue fixed? |
Afaik it's still a problem; @raynol-dsouza did you patch it at any point? |
I believe it is fixed. |
Could you please try out the mwe above to confirm and then close? If it is still broken, imo there is no need to fix before Christmas |
I was wrong; |
the
set_output_archive_period
of protocols is broken.Minimum Working Example
I think the crux of the issue is that at
protocol.generic.Vertex._set_archive_period
we loop overVertex.output
to look for keys to use in setting the archive period, but prior to running the output is almost empty.I'm planning to play around with giving the vertices predefined input and output fields wherever the children of the
Vertex
ABC are defined. As a side effect this would directly solve this problem.The only other solution I see at the moment is to do some sort of 'ghost run' to spoof the output of all the vertices, store the fields, and then use those. This is complicated though, and I'd rather not have
_set_archive_period
than have a solution that muddy.The text was updated successfully, but these errors were encountered: