Skip to content

feature/SOF-7916 Update: Formation Energy Contributions#133

Merged
VsevolodX merged 11 commits into
mainfrom
feature/SOF-7916
Jun 12, 2026
Merged

feature/SOF-7916 Update: Formation Energy Contributions#133
VsevolodX merged 11 commits into
mainfrom
feature/SOF-7916

Conversation

@VsevolodX

Copy link
Copy Markdown
Member
  • update: construct FE contribs
  • chore: regen

flowchartId: assign-elemental-te-used-by-symbol
operand: ELEMENTAL_TE_USED_BY_SYMBOL
value: >-
{el: {'formula': el,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems more complex than it should be - also we are mixing single and double quotes - can we setup linter already??

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a bit more complex than ussual. it's not python, it's yaml

operand: FORMATION_ENERGY_COMPOUND_CONTRIBUTION
# precision value and metric wil be extracted from scopeTrack or another source later
value: >-
{'formula': MATERIAL.formula or MATERIAL.name,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
    "formula": MATERIAL.formula,
    "n_atoms": len(MATERIAL.basis.elements),
    "is_elemental": False,
    "total_energy": E_MATERIAL,
    "total_energy_per_atom": E_MATERIAL / len(MATERIAL.basis.elements),
    "precision_value": -1,
    "precision_metric": "unknown"
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for the above

name: assign-formation-energy-compound-contribution
flowchartId: assign-formation-energy-compound-contribution
operand: FORMATION_ENERGY_COMPOUND_CONTRIBUTION
# precision value and metric wil be extracted from scopeTrack or another source later

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: extract ...

@VsevolodX VsevolodX merged commit 267b042 into main Jun 12, 2026
9 checks passed
@VsevolodX VsevolodX deleted the feature/SOF-7916 branch June 12, 2026 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants