Skip to content

Commit

Permalink
Bug fix: Define the orbital period property deleter correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
moeyensj committed Dec 18, 2023
1 parent b0f175f commit b968259
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adam_core/coordinates/cometary.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def P(self, value):
)
raise ValueError(err)

@p.deleter
@P.deleter
def P(self):
err = (
"Cannot delete period (P) as it is"
Expand Down
2 changes: 1 addition & 1 deletion adam_core/coordinates/keplerian.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def P(self, value):
)
raise ValueError(err)

@p.deleter
@P.deleter
def P(self):
err = (
"Cannot delete period (P) as it is"
Expand Down

0 comments on commit b968259

Please sign in to comment.