1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/42ced7ee518c/ Changeset: 42ced7ee518c User: dan Date: 2014-05-19 16:17:36 Summary: Fixes for genomespace exporter recieving UnvalidatedValue objects. Affected #: 1 file diff -r 5bf39d99f7892bd8d9733f5efd68a8bb356c7bd9 -r 42ced7ee518c0035dba9514b255ca1dbb8dd4c1a tools/genomespace/genomespace_exporter.py --- a/tools/genomespace/genomespace_exporter.py +++ b/tools/genomespace/genomespace_exporter.py @@ -120,7 +120,13 @@ def galaxy_code_get_genomespace_folders( genomespace_site='prod', trans=None, value=None, base_url=None, **kwd ): if value: - value = value[0]#single select, only 1 value + if isinstance( value, list ): + value = value[0] #single select, only 1 value + elif not isinstance( value, basestring ): + #unvalidated value + value = value.value + if isinstance( value, list ): + value = value[0] #single select, only 1 value def recurse_directory_dict( url_opener, cur_options, url ): cur_directory = urllib2.Request( url, headers = { 'Content-Type': 'application/json', 'Accept': 'application/json, text/plain' } ) cur_directory.get_method = lambda: 'GET' 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.