Skip to content

Commit

Permalink
fix small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
md-arif-shaikh committed Nov 26, 2024
1 parent fe7a176 commit 0d577a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gw_eccentricity/eccDefinition.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def process_data_dict(self,
# transform the zeroecc modes as well if provided in dataDict
if "hlm_zeroecc" in dataDict or "amplm_zeroecc" in dataDict:
dataDict = self.transform_inertial_to_coprecessing(
dataDict, suffix="_zeroecc")
dataDict, tag="_zeroecc")
# Now that the modes are in the coprecessing frame, update frame
self.frame = "coprecessing"
# Create a new dictionary that will contain the data necessary for
Expand Down Expand Up @@ -759,7 +759,7 @@ def transform_inertial_to_coprecessing(self, data_dict, tag=""):
f"Removing the input inertial frame {'amplm' + tag}, "
f"{'phaselm' + tag} from `dataDict`. The corresponding "
"coprecessing frame quantities are computed "
f"later from the coprecessing {'hlm' + tag} in"
f"later from the coprecessing {'hlm' + tag} in "
f"`get_amp_phase_omega_data`.")
data_dict.pop("amplm" + tag, None)
data_dict.pop("phaselm" + tag, None)
Expand Down

0 comments on commit 0d577a8

Please sign in to comment.