Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 5, 2023
1 parent 543b649 commit aa26e78
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions echopype/convert/parse_azfp.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ def _test_valid_params(params):
# Compute temperature from unpacked_data[ii]['ancillary][4]
self.unpacked_data["temperature"].append(
compute_temp(
self.unpacked_data["ancillary"][ping_num][4],
temperature_is_valid
self.unpacked_data["ancillary"][ping_num][4], temperature_is_valid
)
)
# compute x tilt from unpacked_data[ii]['ancillary][0]
Expand All @@ -187,7 +186,7 @@ def _test_valid_params(params):
self.parameters["X_b"],
self.parameters["X_c"],
self.parameters["X_d"],
tilt_x_is_valid
tilt_x_is_valid,
)
)
# Compute y tilt from unpacked_data[ii]['ancillary][1]
Expand All @@ -198,7 +197,7 @@ def _test_valid_params(params):
self.parameters["Y_b"],
self.parameters["Y_c"],
self.parameters["Y_d"],
tilt_y_is_valid
tilt_y_is_valid,
)
)
# Compute cos tilt magnitude from tilt x and y values
Expand Down

0 comments on commit aa26e78

Please sign in to comment.