Skip to content

Commit

Permalink
additional docstrings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Ury committed Dec 26, 2024
1 parent c508494 commit 2e83029
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pycalphad/mapping/strategy/binary_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ def add_starting_points_from_step(self, step: StepStrategy):
is added for each phase transition since for alpha->beta, the zpf line for alpha will end
with the parent and the zpf line for beta will start with the node
For stepping along a composition axis, just grab a single point from a zpf line.
If we were to grab the nodes, there would be two nodes for every two-phase regions:
- alpha -> alpha + beta - Node for beginning of alpha + beta zpf line
- alpha + beta -> beta - Node for beginning of beta zpf line
alpha -> alpha + beta - Node for beginning of alpha + beta zpf line
alpha + beta -> beta - Node for beginning of beta zpf line
"""
# If stepping in a state variable, then grab all the nodes
if map_utils.is_state_variable(step.axis_vars[0]):
Expand Down

0 comments on commit 2e83029

Please sign in to comment.