Closed jmmshn closed 5 months ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
4372799
) 90.54% compared to head (b8be354
) 88.88%.
Files | Patch % | Lines |
---|---|---|
emmet-core/emmet/core/mpid.py | 81.81% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Following the discussion here: https://github.com/materialsproject/jobflow/issues/519
Added support for ULID: Universally Unique Lexicographically Sortable Identifier
The idea is the UUIDs are random and they cannot be sorted for aggregate document creation. Since atomate2 will call some
emmet.core
documents directly we might not always have a chance to parse the task docs and assign MPIDs to everyone.This PR does the following:
self.parts
used for sorting are(ULID_ID, 0)
which should enough to help sort the documents.StructureGroup
to allow for ULID comparison.