Skip to content

Commit

Permalink
Merge pull request #6840 from thobalose/volume
Browse files Browse the repository at this point in the history
Updated volume kwds.
  • Loading branch information
martenson committed Oct 10, 2018
2 parents c9b0379 + 6c580b8 commit f41128a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f41128a

Please sign in to comment.