Skip to content

Commit 2dfcdb1

Browse files
committed
nits
1 parent 40badb6 commit 2dfcdb1

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

nucleus/annotation.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
ANNOTATIONS_KEY,
2222
)
2323

24-
ORIGINAL_URL_KEY = "original_url"
25-
2624

2725
class Segment:
2826
def __init__(

nucleus/model_run.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Optional, List, Dict, Any, Union
1+
from typing import Optional, List, Union
22
from .constants import (
33
ANNOTATIONS_KEY,
44
DEFAULT_ANNOTATION_UPDATE_MODE,
@@ -11,7 +11,6 @@
1111
PolygonPrediction,
1212
SegmentationPrediction,
1313
)
14-
from .payload_constructor import construct_box_predictions_payload
1514

1615

1716
class ModelRun:
@@ -147,7 +146,6 @@ def _format_prediction_response(
147146
] = SegmentationPrediction.from_json(
148147
annotations[SEGMENTATION_TYPE]
149148
)
150-
print(annotation_response)
151149
return annotation_response
152150
else: # An error occurred
153151
return response

0 commit comments

Comments
 (0)