Skip to content

Commit 3200436

Browse files
committed
Lint
1 parent 5c1c2eb commit 3200436

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/models/dataset/Dataset.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,8 +773,8 @@ class DatasetMagsDAO @Inject()(sqlClient: SqlClient)(implicit ec: ExecutionConte
773773
case Some(mags) =>
774774
mags.map(mag => {
775775
q"""INSERT INTO webknossos.dataset_mags(_dataset, dataLayerName, mag, path, realPath, axisOrder, channelIndex, credentialId)
776-
VALUES($datasetId, ${layer.name}, ${mag.mag}, ${mag.path}, ${mag.path}, ${mag.axisOrder
777-
.map(Json.toJson(_))}, ${mag.channelIndex}, ${mag.credentialId})
776+
VALUES($datasetId, ${layer.name}, ${mag.mag}, ${mag.path}, ${mag.path}, ${mag.axisOrder.map(
777+
Json.toJson(_))}, ${mag.channelIndex}, ${mag.credentialId})
778778
""".asUpdate
779779
})
780780
case None =>

webknossos-datastore/app/com/scalableminds/webknossos/datastore/controllers/DataSourceController.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,8 @@ class DataSourceController @Inject()(
459459
} yield ()
460460
} else
461461
for {
462-
_ <- Fox.runIf(dataSourceService.datasetInControlledS3(dataSource))(dataSourceService.deleteFromControlledS3(dataSource, datasetId))
462+
_ <- Fox.runIf(dataSourceService.datasetInControlledS3(dataSource))(
463+
dataSourceService.deleteFromControlledS3(dataSource, datasetId))
463464
_ <- dsRemoteWebknossosClient.deleteDataSource(dataSourceId)
464465
_ = logger.warn(s"Tried to delete dataset ${dataSource.id} that is not on disk.")
465466
} yield ()

0 commit comments

Comments
 (0)