Skip to content

Commit e50effc

Browse files
committed
fix GPU format
1 parent 283ed15 commit e50effc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ plugins {
1313
}
1414

1515
group = "io.krews"
16-
version = "0.14.11"
16+
version = "0.14.12"
1717

1818
repositories {
1919
maven { setUrl("https://dl.bintray.com/kotlin/kotlin-eap") }

src/main/kotlin/krews/executor/bsub/BsubExecutor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class BsubExecutor(private val workflowConfig: WorkflowConfig) : LocallyDirected
7474

7575
val mem = taskConfig.bsub?.mem ?: taskRunContexts.map { it.memory }.maxBy { it?.bytes ?: -1 }
7676
val cpus = taskConfig.bsub?.cpus ?: taskRunContexts.map { it.cpus }.maxBy { it ?: -1 }
77-
val gpus = taskConfig.bsub?.gpu ? "\"\"" : null
77+
val gpus = if (taskConfig.bsub?.gpu == true) "\"\"" else null
7878

7979
appendBsubParam(bsubScript, "J", bsubWorkflowJobName)
8080
appendBsubParam(bsubScript, "o", logsPath.resolve("out.txt"))

0 commit comments

Comments
 (0)