comparison toolfactory/rgToolFactory2.py @ 114:e0cf315853cf draft

Uploaded
author fubar
date Wed, 02 Dec 2020 04:16:48 +0000
parents 6873c211b250
children bf7b4b603bf9
comparison
equal deleted inserted replaced
113:6873c211b250 114:e0cf315853cf
758 imrep = os.path.join(destdir, repname) 758 imrep = os.path.join(destdir, repname)
759 # need to keep the container running so keep it open with tail -f. 759 # need to keep the container running so keep it open with tail -f.
760 # will stop and destroy it when we are done 760 # will stop and destroy it when we are done
761 container = client.containers.run( 761 container = client.containers.run(
762 planemoimage, 762 planemoimage,
763 "tail -f /galaxy-central/CITATION", 763 "sleep 120m",
764 detach=True, 764 detach=True,
765 user="biodocker", 765 user="biodocker",
766 volumes={f"{tvolname}": {"bind": "/toolfactory", "mode": "rw"}}, 766 volumes={f"{tvolname}": {"bind": "/toolfactory", "mode": "rw"}},
767 ) 767 )
768 cl = f"mkdir -p {destdir}" 768 cl = f"mkdir -p {destdir}"