Skip to content

Commit

Permalink
chore: run black again
Browse files Browse the repository at this point in the history
  • Loading branch information
hollandjg committed Mar 15, 2024
1 parent 22c1ff3 commit ef9e9f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/icesat2waves/local_modules/m_general_ph3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,9 @@ def find_max_along_line(
f_start = np.unravel_index(np.abs(a).argmin(), np.transpose(a.shape))[0]

if mode == "free_limits" or mode == "lower_limit":
_logger.debug("line_right[-1]: %s, time_lin[-1]: %s", line_right[-1], time_lin[-1])
_logger.debug(
"line_right[-1]: %s, time_lin[-1]: %s", line_right[-1], time_lin[-1]
)
if line_right[-1] > time_lin[-1]:
_logger.debug(" right line > time window")
a = line_right - time_lin[-1]
Expand Down
4 changes: 3 additions & 1 deletion src/icesat2waves/local_modules/m_tools_ph3.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ def write_variables_log(hist, var_list, locals, verbose=False, date=False):
message = f"\n{now} {stringg}" if date else f"\n{' '.ljust(5)} {stringg}"

if verbose in [True, "all"]:
_logger.debug("write_variables_log: %s", hist + message if verbose == "all" else message)
_logger.debug(
"write_variables_log: %s", hist + message if verbose == "all" else message
)


def save_log_txt(name, path, hist, verbose=False):
Expand Down

0 comments on commit ef9e9f1

Please sign in to comment.