File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/kotlin/krews/executor/bsub Expand file tree Collapse file tree 2 files changed +3
-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.14 "
16
+ version = " 0.14.15 "
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 @@ -191,9 +191,10 @@ class BsubExecutor(private val workflowConfig: WorkflowConfig) : LocallyDirected
191
191
bsubScript.append(" export SINGULARITY_BIND=\" $binds \"\n " )
192
192
193
193
// Add running the task to script
194
+ val remoteImage = ! taskRunContext.dockerImage.endsWith(" .sif" )
194
195
bsubScript.append(" \n " )
195
196
bsubScript.append(" # Run task command.\n " )
196
- bsubScript.append(" singularity exec --containall docker://${taskRunContext.dockerImage} $containerCommand " )
197
+ bsubScript.append(" singularity exec --containall ${ if (remoteImage) " docker://" else " " } ${taskRunContext.dockerImage} $containerCommand " )
197
198
bsubScript.append(" \n " )
198
199
199
200
// Add copying output files into output dir to script
You can’t perform that action at this time.
0 commit comments