Skip to content

Commit

Permalink
fix bug to pass in env_params from parent class method (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
leewujung authored Mar 15, 2023
1 parent f28f609 commit 8aca475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion echopype/calibrate/calibrate_ek.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __init__(self, echodata, env_params, cal_params, **kwargs):
self.sonar_type = "EK60"

# Get env_params
self.env_params = get_env_params_EK60(echodata=echodata, user_env_dict=env_params)
self.env_params = get_env_params_EK60(echodata=echodata, user_env_dict=self.env_params)
self.waveform_mode = "CW"
self.encode_mode = "power"

Expand Down

0 comments on commit 8aca475

Please sign in to comment.