Skip to content

Conversation

@DanielYang59
Copy link
Contributor

@DanielYang59 DanielYang59 commented Oct 4, 2025

@DanielYang59 DanielYang59 changed the title PhaseDiagram only show lowest energy for unstable composition PhaseDiagram plotter only show lowest energy for unstable composition Oct 4, 2025
formula = entry.composition.reduced_formula
e_above_hull = self._pd.get_e_above_hull(entry)

if formula not in min_unstable or e_above_hull < self._pd.get_e_above_hull(min_unstable[formula][1]):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the only functional change here, sorry for all the unrelated type/doc tweaks

@DanielYang59 DanielYang59 marked this pull request as ready for review October 4, 2025 21:06
@DanielYang59 DanielYang59 force-pushed the fix-pd-plot-above-hull-e branch 6 times, most recently from 1c80163 to 914d347 Compare October 17, 2025 08:54
cast np.bool to bool
add types for PDEntry

clean up types for computed_data in PD __init__

add more types for PDPlotter

add more types

relocate dunder methods

to merge
@DanielYang59 DanielYang59 force-pushed the fix-pd-plot-above-hull-e branch from 914d347 to c9e15e4 Compare October 21, 2025 17:50
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.

PDPlotter: not showing lowest energy above-hull entry markers in 2D phase diagrams

1 participant