Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yrkim98 committed Dec 11, 2024
1 parent 959fc4f commit afc515e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/allencell_ml_segmenter/prediction/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,12 @@ def showResults(self) -> None:
self._viewer.add_labels(
seg_np_data,
name=f"[seg] {data['seg'].name}",
metadata={"source_path": data["seg"],
"prob_map": self._img_data_extractor.extract_image_data(
data["seg"]).np_data},
metadata={
"source_path": data["seg"],
"prob_map": self._img_data_extractor.extract_image_data(
data["seg"]
).np_data,
},
)

self._main_model.set_predictions_in_viewer(True)
Expand Down

0 comments on commit afc515e

Please sign in to comment.