Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent ba471a5 commit e1e24e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion znh5md/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,9 @@ def combine_asedata(data: List[ASEData], variable_length: bool) -> ASEData:
)


def _combine_property(properties: List[Optional[np.ndarray]], variable_length: bool) -> Optional[np.ndarray]:
def _combine_property(
properties: List[Optional[np.ndarray]], variable_length: bool
) -> Optional[np.ndarray]:
"""Helper function to combine varying shape arrays."""
if all(x is None for x in properties):
return None
Expand Down

0 comments on commit e1e24e7

Please sign in to comment.