Skip to content

Commit fc4bc47

Browse files
author
Christopher Bridge
committed
Fix style errors
Signed-off-by: Christopher Bridge <[email protected]>
1 parent 16bb2d1 commit fc4bc47

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

integrations/nuance_pin/app/post_inference_ops.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ def compute(self, op_input: InputContext, op_output: OutputContext, context: Exe
5555

5656
annotations = []
5757

58-
all_ref_images = [
59-
ins.get_native_sop_instance()
60-
for ins in selected_series.series.get_sop_instances()
61-
]
58+
all_ref_images = [ins.get_native_sop_instance() for ins in selected_series.series.get_sop_instances()]
6259
accession = all_ref_images[0].AccessionNumber
6360

6461
for inst_num, (box_data, box_score) in enumerate(zip(detection_result.box_data, detection_result.score_data)):

integrations/nuance_pin/app_wrapper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ def initialize_class(cls):
7272
monai_app_class_module = cls.monai_app_module.rsplit(".", 1)[0]
7373
monai_app_class_name = cls.monai_app_module.rsplit(".", 1)[1]
7474
if not cls.monai_app_module:
75-
raise ValueError(
76-
"MONAI App to be run has not been specified in `MONAI_APP_CLASSPATH` environment variable"
77-
)
75+
raise ValueError("MONAI App to be run has not been specified in `MONAI_APP_CLASSPATH` environment variable")
7876

7977
monai_app_class = getattr(import_module(monai_app_class_module), monai_app_class_name)
8078
if monai_app_class is None:

0 commit comments

Comments
 (0)