Skip to content

Commit f6e4b71

Browse files
fix backend linting
1 parent 8d2161f commit f6e4b71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

webknossos-tracingstore/app/com/scalableminds/webknossos/tracingstore/tracings/editablemapping/EditableMappingIOService.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,26 +202,26 @@ class EditableMappingIOService @Inject()(tempFileService: TsTempFileService,
202202
timestamp: Long): EditableMappingUpdateAction =
203203
if (edgeIsAddition) {
204204
MergeAgglomerateUpdateAction(
205-
agglomerateId1 = 0,
206-
agglomerateId2 = 0,
205+
agglomerateId1 = Some(0),
206+
agglomerateId2 = Some(0),
207207
segmentPosition1 = None,
208208
segmentPosition2 = None,
209209
segmentId1 = Some(edgeSrc),
210210
segmentId2 = Some(edgeDst),
211-
mag = Vec3Int.ones, // unused, as we do not look up segment ids by positions
211+
mag = Some(Vec3Int.ones), // unused, as we do not look up segment ids by positions
212212
actionTracingId = tracingId,
213213
actionTimestamp = Some(timestamp),
214214
actionAuthorId = None,
215215
info = None
216216
)
217217
} else {
218218
SplitAgglomerateUpdateAction(
219-
agglomerateId = 0,
219+
agglomerateId = Some(0),
220220
segmentPosition1 = None,
221221
segmentPosition2 = None,
222222
segmentId1 = Some(edgeSrc),
223223
segmentId2 = Some(edgeDst),
224-
mag = Vec3Int.ones, // unused, as we do not look up segment ids by positions
224+
mag = Some(Vec3Int.ones), // unused, as we do not look up segment ids by positions
225225
actionTracingId = tracingId,
226226
actionTimestamp = Some(timestamp),
227227
actionAuthorId = None,

0 commit comments

Comments
 (0)