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 Feb 14, 2025
1 parent 7d71b74 commit 0be89c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/aiida/orm/nodes/data/array/xy.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def get_y(self) -> list[tuple[str, 'ndarray', str]]:
y_units = self.base.attributes.get('y_units')
except (KeyError, AttributeError):
raise NotExistent('No y units has been set yet!')

y_arrays = [self.get_array(f'y_array_{i}') for i in range(len(y_names))]
return list(zip(y_names, y_arrays, y_units))

Expand Down
1 change: 0 additions & 1 deletion src/aiida/transports/plugins/ssh.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

###########################################################################
# Copyright (c), The AiiDA team. All rights reserved. #
# This file is part of the AiiDA code. #
Expand Down

0 comments on commit 0be89c2

Please sign in to comment.