@@ -507,7 +507,7 @@ def run(self, pull_image=True, rm_container=True,
507
507
for t , v in self .environment .items ():
508
508
runtime .append (u"--env=%s=%s" % (t , v ))
509
509
elif container_manager == "singularity" :
510
- runtime = [u"singularity" , u"exec" ]
510
+ runtime = [u"singularity" , u"--quiet" , u" exec" ]
511
511
512
512
runtime .append (u"--bind" )
513
513
runtime .append (
@@ -533,7 +533,7 @@ def run(self, pull_image=True, rm_container=True,
533
533
for t , v in self .environment .items ():
534
534
env ["SINGULARITYENV_" + t ] = v
535
535
536
- runtime .append (img_id )
536
+ runtime .append ("docker://" + img_id )
537
537
538
538
self ._execute (
539
539
runtime , env , rm_tmpdir = rm_tmpdir , move_outputs = move_outputs )
@@ -616,7 +616,7 @@ def _job_popen(
616
616
stdin_path = stdin_path ,
617
617
)
618
618
with open (os .path .join (job_dir , "job.json" ), "wb" ) as f :
619
- json .dump (job_description , codecs .getwriter ('utf-8' )(f ), ensure_ascii = False ) # type: ignore
619
+ json .dump (job_description , codecs .getwriter ('utf-8' )(f ), ensure_ascii = False ) # type: ignore
620
620
try :
621
621
job_script = os .path .join (job_dir , "run_job.bash" )
622
622
with open (job_script , "wb" ) as f :
0 commit comments