File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/kotlin/krews/executor/bsub Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ plugins {
13
13
}
14
14
15
15
group = " io.krews"
16
- version = " 0.14.11 "
16
+ version = " 0.14.12 "
17
17
18
18
repositories {
19
19
maven { setUrl(" https://dl.bintray.com/kotlin/kotlin-eap" ) }
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class BsubExecutor(private val workflowConfig: WorkflowConfig) : LocallyDirected
74
74
75
75
val mem = taskConfig.bsub?.mem ? : taskRunContexts.map { it.memory }.maxBy { it?.bytes ? : - 1 }
76
76
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
78
78
79
79
appendBsubParam(bsubScript, " J" , bsubWorkflowJobName)
80
80
appendBsubParam(bsubScript, " o" , logsPath.resolve(" out.txt" ))
You can’t perform that action at this time.
0 commit comments