1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/ed1bc0c4770b/
changeset: ed1bc0c4770b
user: greg
date: 2012-08-31 22:04:46
summary: Fix for resetting all metadata on a tool shed repository.
affected #: 1 file
diff -r fab5274bf15a15ff7c710b60f8b521478c20f907 -r ed1bc0c4770b8059489f2fee15716dfcdc07feaa lib/galaxy/webapps/community/controllers/common.py
--- a/lib/galaxy/webapps/community/controllers/common.py
+++ b/lib/galaxy/webapps/community/controllers/common.py
@@ -868,6 +868,7 @@
metadata_dict = None
ancestor_changeset_revision = None
ancestor_metadata_dict = None
+ invalid_file_tups = []
home_dir = os.getcwd()
for changeset in repo.changelog:
work_dir = tempfile.mkdtemp()
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.
1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/fab5274bf15a/
changeset: fab5274bf15a
user: greg
date: 2012-08-31 21:25:48
summary: Display error message when unable to set metadata on a tool shed repository because of invalid tool configs. Also correct the way metadata is set on a tool shed repository when all repository files are deleted in a changeset.
affected #: 2 files
diff -r 0e3ecd0ea81876e4d32d108be1e02e393846e4e8 -r fab5274bf15a15ff7c710b60f8b521478c20f907 lib/galaxy/util/shed_util.py
--- a/lib/galaxy/util/shed_util.py
+++ b/lib/galaxy/util/shed_util.py
@@ -609,7 +609,10 @@
is_tool = False
if is_tool:
tool, valid, error_message = load_tool_from_config( app, full_path )
- if tool is not None:
+ if tool is None:
+ if not valid:
+ invalid_file_tups.append( ( name, error_message ) )
+ else:
invalid_files_and_errors_tups = check_tool_input_params( app, files_dir, name, tool, sample_file_metadata_paths, webapp=webapp )
can_set_metadata = True
for tup in invalid_files_and_errors_tups:
diff -r 0e3ecd0ea81876e4d32d108be1e02e393846e4e8 -r fab5274bf15a15ff7c710b60f8b521478c20f907 lib/galaxy/webapps/community/controllers/common.py
--- a/lib/galaxy/webapps/community/controllers/common.py
+++ b/lib/galaxy/webapps/community/controllers/common.py
@@ -921,9 +921,6 @@
ancestor_metadata_dict = None
elif ancestor_metadata_dict:
# We reach here only if current_metadata_dict is empty and ancestor_metadata_dict is not.
- ancestor_changeset_revision = current_changeset_revision
- metadata_changeset_revision = current_changeset_revision
- metadata_dict = ancestor_metadata_dict
if not ctx.children():
# We're at the end of the change log.
repository_metadata = create_or_update_repository_metadata( trans, id, repository, metadata_changeset_revision, metadata_dict )
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.
1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/df1452d451ec/
changeset: df1452d451ec
user: greg
date: 2012-08-30 20:40:28
summary: Change the implementation for importing proprietary datatype class modules that are included in installed tool shed repositories. This approach will correctly import proprietary datatype classes whose file names conflict with a Python standard library module name (e.g., if a proprietary datatype class file is named xml.py, it will conflict with the Python standard library's xml module when attempting to import it).
affected #: 1 file
diff -r 9e35739c2da19583f24784d1b06e656dede2643a -r df1452d451ece4e33b720c481077ad792bb0b71a lib/galaxy/datatypes/registry.py
--- a/lib/galaxy/datatypes/registry.py
+++ b/lib/galaxy/datatypes/registry.py
@@ -1,7 +1,7 @@
"""
Provides mapping between extensions and datatypes, mime-types, etc.
"""
-import os, sys, tempfile, threading, logging
+import os, sys, tempfile, threading, logging, imp
import data, tabular, interval, images, sequence, qualityscore, genetics, xml, coverage, tracks, chrominfo, binary, assembly, ngsindex
import galaxy.util
from galaxy.util.odict import odict
@@ -55,10 +55,9 @@
being installed. Since installation is occurring after the datatypes registry has been initialized, its
contents cannot be overridden by new introduced conflicting data types.
"""
- def __import_module( full_path, datatype_module ):
- sys.path.insert( 0, full_path )
- imported_module = __import__( datatype_module )
- sys.path.pop( 0 )
+ def __import_module( full_path, datatype_module, datatype_class_name ):
+ open_file_obj, file_name, description = imp.find_module( datatype_module, [ full_path ] )
+ imported_module = imp.load_module( datatype_class_name, open_file_obj, file_name, description )
return imported_module
if root_dir and config:
handling_proprietary_datatypes = False
@@ -130,12 +129,12 @@
datatype_module = fields[0]
datatype_class_name = fields[1]
datatype_class = None
- if proprietary_path and proprietary_datatype_module:
+ if proprietary_path and proprietary_datatype_module and datatype_class_name:
# We need to change the value of sys.path, so do it in a way that is thread-safe.
lock = threading.Lock()
lock.acquire( True )
try:
- imported_module = __import_module( proprietary_path, proprietary_datatype_module )
+ imported_module = __import_module( proprietary_path, proprietary_datatype_module, datatype_class_name )
if imported_module not in self.imported_modules:
self.imported_modules.append( imported_module )
if hasattr( imported_module, datatype_class_name ):
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.
1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/32030702cf48/
changeset: 32030702cf48
user: rmarenco
date: 2012-08-29 23:27:02
summary: Missing verification of the conditon before checking the conditional parameters
affected #: 1 file
diff -r ff74a24aa175a28975abdc623d34c2b805725a4f -r 32030702cf48527a17a648e828ec6658bf96841c tools/ngs_rna/express_wrapper.xml
--- a/tools/ngs_rna/express_wrapper.xml
+++ b/tools/ngs_rna/express_wrapper.xml
@@ -49,7 +49,7 @@
<data format="txt" name="params" from_work_dir="params.xprs"/><data format="txt" name="results" from_work_dir="results.xprs"/><data format="txt" name="varcov" from_work_dir="varcov.xprs">
- <filter>additional_params[ 'calc_covar' ] == "yes"</filter>
+ <filter>additional_params[ 'use_additional' ] == "yes" and additional_params[ 'calc_covar' ] == "yes"</filter></data></outputs>
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.
1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/ff74a24aa175/
changeset: ff74a24aa175
user: inithello
date: 2012-08-29 22:08:01
summary: Upgrade mercurial egg to 2.2.3
affected #: 1 file
diff -r 61a2c343081f2dc194caaacb3c379392353caa7a -r ff74a24aa175a28975abdc623d34c2b805725a4f eggs.ini
--- a/eggs.ini
+++ b/eggs.ini
@@ -17,7 +17,7 @@
ctypes = 1.0.2
DRMAA_python = 0.2
MarkupSafe = 0.12
-mercurial = 2.1.2
+mercurial = 2.2.3
MySQL_python = 1.2.3c1
numpy = 1.6.0
pbs_python = 4.1.0
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.