Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
m-julian committed Aug 31, 2024
1 parent e309483 commit 86bc9d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ichor_core/ichor/core/files/points_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _parse(self) -> None:
# wrap the new directory as a PointDirectory instance and add to self
# sort by the names of the directories (by the numbers in their name)
# since the system name is always the same
self = self.sort(key=lambda x: x.path.name)
self.sort(key=lambda x: x.path.name)

@property
def raw_data(self) -> dict:
Expand Down
2 changes: 1 addition & 1 deletion ichor_core/ichor/core/files/points_directory_parent.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _parse(self):
# wrap the new directory as a PointDirectory instance and add to self
# sort by the names of the directories (by the numbers in their name)
# since the system name is always the same
self = self.sort(key=lambda x: x.path.name)
self.sort(key=lambda x: x.path.name)

@property
def raw_data(self) -> dict:
Expand Down

0 comments on commit 86bc9d1

Please sign in to comment.