Skip to content

Commit

Permalink
Manually reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
w-k-jones committed Sep 25, 2024
1 parent 9c1058f commit f5e5e25
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tobac/feature_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,9 +627,9 @@ def feature_detection_threshold(
# find the updated label, and overwrite all of label_ind indices with
# updated label
labels_2_alt = labels_2[label_z, y_val_alt, x_val_alt]
labels_2[label_locs_v, label_locs_h1, label_locs_h2] = (
labels_2_alt
)
labels_2[
label_locs_v, label_locs_h1, label_locs_h2
] = labels_2_alt
skip_list = np.append(skip_list, label_ind)
break

Expand Down Expand Up @@ -673,9 +673,9 @@ def feature_detection_threshold(
# find the updated label, and overwrite all of label_ind indices with
# updated label
labels_2_alt = labels_2[label_z, y_val_alt, label_x]
labels_2[label_locs_v, label_locs_h1, label_locs_h2] = (
labels_2_alt
)
labels_2[
label_locs_v, label_locs_h1, label_locs_h2
] = labels_2_alt
new_label_ind = labels_2_alt
skip_list = np.append(skip_list, label_ind)

Expand Down Expand Up @@ -717,9 +717,9 @@ def feature_detection_threshold(
# find the updated label, and overwrite all of label_ind indices with
# updated label
labels_2_alt = labels_2[label_z, label_y, x_val_alt]
labels_2[label_locs_v, label_locs_h1, label_locs_h2] = (
labels_2_alt
)
labels_2[
label_locs_v, label_locs_h1, label_locs_h2
] = labels_2_alt
new_label_ind = labels_2_alt
skip_list = np.append(skip_list, label_ind)

Expand Down

0 comments on commit f5e5e25

Please sign in to comment.