Skip to content

Commit

Permalink
some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudz committed Jun 4, 2024
1 parent 6ce4348 commit c60c66c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nomad_simulations/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,14 @@ def _set_system_branch_depth(
def resolve_composition_formula(
self, system_parent: ModelSystem
) -> None:
"""Determine and set the composition formula for system_parent and all of its
"""Determine and set the composition formula for `system_parent` and all of its
descendants.
Args:
system_parent (ModelSystem): The upper-most level of the system hierarchy to consider.
"""
def set_composition_formula(system: ModelSystem, subsystems: List[ModelSystem], atom_labels: List[str]) -> None:
"""Determines the composition formula for `system` based on its `subsystems`.
"""Determine the composition formula for `system` based on its `subsystems`.
If `system` has no children, the atom_labels are used to determine the formula.
Args:
Expand All @@ -208,7 +208,7 @@ def set_composition_formula(system: ModelSystem, subsystems: List[ModelSystem],

def get_composition_recurs(system: ModelSystem, atom_labels: List[str]) -> None:
"""Traverse the system hierarchy downward and set the branch composition for
all (subs)systems at each level.
all (sub)systems at each level.
Args:
system (ModelSystem): The system to traverse downward.
Expand Down

0 comments on commit c60c66c

Please sign in to comment.