Skip to content

Commit

Permalink
Apply formatting script
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Oct 6, 2023
1 parent 43a046a commit 28b738d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions swiftsimio/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def __str__(self):
Print warning message of invalid scale factor
"""
return f"InvalidScaleFactor: {self.message}"


class InvalidSnapshot(Exception):
"""
Expand All @@ -408,7 +408,6 @@ def __str__(self):
return f"InvalidSnapshot: {self.message}"



class cosmo_factor:
"""
Cosmology factor class for storing and computing conversion between
Expand Down
2 changes: 1 addition & 1 deletion swiftsimio/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ def get_float(x):
)

return output

@property
def partial_snapshot(self) -> bool:
"""
Expand Down

0 comments on commit 28b738d

Please sign in to comment.