commit/galaxy-central: greg: Per James Johnson, handle files with a .tar extension when installing tool dependencies along with a tool shed repository.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/dd4786c5b4e4/ changeset: dd4786c5b4e4 user: greg date: 2012-11-06 14:38:52 summary: Per James Johnson, handle files with a .tar extension when installing tool dependencies along with a tool shed repository. affected #: 1 file diff -r b996950ffcf2342f1211dc49e6ca75c4dfd7050f -r dd4786c5b4e48db780f6ec5da42dfafec19538f4 lib/galaxy/tool_shed/tool_dependencies/common_util.py --- a/lib/galaxy/tool_shed/tool_dependencies/common_util.py +++ b/lib/galaxy/tool_shed/tool_dependencies/common_util.py @@ -93,7 +93,7 @@ def tar_extraction_directory( file_path, file_name ): """Try to return the correct extraction directory.""" file_name = file_name.strip() - extensions = [ '.tar.gz', '.tgz', '.tar.bz2', '.zip' ] + extensions = [ '.tar.gz', '.tgz', '.tar.bz2', '.tar', '.zip' ] for extension in extensions: if file_name.find( extension ) > 0: dir_name = file_name[ :-len( extension ) ] 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)
-
Bitbucket