Merge pull request #6851 from martenson/backport-gie-kwds

[18.05] Updated volume kwds for GIEs
This commit is contained in:
Dannon
2018-10-11 08:38:23 -04:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
@@ -9,8 +9,8 @@ ie_request.load_deploy_config()
ie_request.attr.docker_port = 80
ie_request.attr.import_volume = False
bam = ie_request.volume(hda.file_name, '/input/bamfile.bam', how='ro')
bam_index = ie_request.volume(hda.metadata.bam_index.file_name, '/input/bamfile.bam.bai', how='ro')
bam = ie_request.volume(hda.file_name, '/input/bamfile.bam', mode='ro')
bam_index = ie_request.volume(hda.metadata.bam_index.file_name, '/input/bamfile.bam.bai', mode='ro')
ie_request.launch(volumes=[bam, bam_index], env_override={
'PUB_HTTP_PORT': ie_request.attr.galaxy_config.dynamic_proxy_bind_port,
@@ -9,7 +9,7 @@
import os
mount_path = hda.file_name
data_vol = ie_request.volume(mount_path, '/data/data_pack.tar.gz', how='rw')
data_vol = ie_request.volume(mount_path, '/data/data_pack.tar.gz', mode='rw')
# Add all environment variables collected from Galaxy's IE infrastructure
# Launch the IE.
@@ -7,7 +7,7 @@
# if the user knows ahead of time that they will need it.
import os
mount_path = str(os.path.dirname(hda.file_name)) + '/dataset_{}_files'.format( hda.dataset.id )
data_vol = ie_request.volume(mount_path, '/data', how='rw')
data_vol = ie_request.volume(mount_path, '/data', mode='rw')
# data_vol = ie_request.volume('${HOME}/neo4j/data', '/data/', how='rw')
# Add all environment variables collected from Galaxy's IE infrastructure
# Launch the IE.