-
Notifications
You must be signed in to change notification settings - Fork 66
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
add completed_at field (+run_stats) to TaskDoc as root fields #1116
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1116 +/- ##
=======================================
Coverage 88.83% 88.84%
=======================================
Files 114 114
Lines 10627 10629 +2
=======================================
+ Hits 9441 9443 +2
Misses 1186 1186 ☔ View full report in Codecov by Sentry. |
@tsmathis that should be good - also worth noting that Also tweaked one of the builder tests to better account for when no POTCAR library is preset (like CI) |
I can't really find anywhere that And the There is also differing behavior for |
I'm not sure what the purpose of
|
Hey @utf, do you recall what the purpose of |
IIRC it was an option as to whether the structure was stored alongside the metadata. It was originally part of StuctureMetadata.from_structure. I don't remember it being a field though. |
That was the impression we got based on the name, but we haven't found any place in either emmet or atomate2 where Is this a behavior you'd like to see functioning for TaskDoc? |
As long as the structure is always stored in the task doc that's fine. Sounds like it's safe to remove. |
Okay, sounds good @utf, thanks for the input. @esoteric-ephemera, lets follow up separately on the That aside, going to merge this in unless there is anything else you'd like to see in these current changes? |
@esoteric-ephemera, this should be enough to get
completed_at
in as a root level field, right?There were already kwargs of
completed_at=calcs_reversed[0].completed_at,
in the.from_structure
calls, but the field isn't showing up currently