commit/galaxy-central: davebgx: When executing a download_file action, take into account that the current working directory may have been modified by previous steps.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/deba1986ea22/ Changeset: deba1986ea22 Branch: stable User: davebgx Date: 2014-07-09 16:39:01 Summary: When executing a download_file action, take into account that the current working directory may have been modified by previous steps. Affected #: 1 file diff -r b1441a96b8401fd14ab3364c5d6dfa0733df263e -r deba1986ea22e42fb1f290f50a62b51d4cfad762 lib/tool_shed/galaxy_install/tool_dependencies/recipe/step_handler.py --- a/lib/tool_shed/galaxy_install/tool_dependencies/recipe/step_handler.py +++ b/lib/tool_shed/galaxy_install/tool_dependencies/recipe/step_handler.py @@ -447,7 +447,9 @@ filename = action_dict[ 'target_filename' ] else: filename = url.split( '/' )[ -1 ] - td_common_util.url_download( work_dir, filename, url ) + if current_dir is not None: + work_dir = current_dir + td_common_util.url_download( work_dir, filename, url, extract=action_dict[ 'extract' ] ) if initial_download: dir = os.path.curdir return tool_dependency, filtered_actions, dir Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org