Skip to content

Commit d055162

Browse files
committed
Trying to fix linting error
1 parent 5681c1d commit d055162

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/classification/test_sspoc.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,12 @@ def custom_update(
342342
if n_sensors is not None:
343343
sorted_indices = np.argsort(-np.abs(sspoc.sensor_coef_))
344344
print(f"Sorted indices: {sorted_indices}")
345-
print(f"n_sensors-1 index: {sorted_indices[n_sensors-1]}")
346-
print(f"Value at index: {sspoc.sensor_coef_[sorted_indices[n_sensors-1]]}")
345+
print(f"n_sensors-1 index: {sorted_indices[n_sensors - 1]}")
347346
print(
348-
f"Is 0?{np.abs(sspoc.sensor_coef_[sorted_indices[n_sensors-1]]) == 0}"
347+
f"Value at index: {sspoc.sensor_coef_[sorted_indices[n_sensors - 1]]}"
348+
)
349+
print(
350+
f"Is 0?{np.abs(sspoc.sensor_coef_[sorted_indices[n_sensors - 1]]) == 0}"
349351
)
350352
original = sspoc.update_sensors
351353
return original(n_sensors, threshold, xy, quiet, method, **method_kws)

0 commit comments

Comments
 (0)