Skip to content

Commit

Permalink
Updating code to pass all github tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushjariyal committed Feb 14, 2025
1 parent a9e7df5 commit ce6f8ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aiida/orm/nodes/data/array/xy.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,6 @@ def get_y_arraynames(self) -> list[str]:
y_names = self.base.attributes.get('y_names')
if y_names is None:
raise KeyError
return y_names
except (KeyError, AttributeError):
raise NotExistent(f'No y names been set yet!')

0 comments on commit ce6f8ea

Please sign in to comment.