1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/b914c26a33fe/
Changeset: b914c26a33fe
User: natefoo
Date: 2013-09-26 14:40:02
Summary: Handle unicode args passed to display_at.
Affected #: 1 file
diff -r 51760f44ba6d8994c5f46b26f77c9c3a7708b802 -r b914c26a33fe17e3e43115b2fa37bd3888d91399 lib/galaxy/webapps/galaxy/controllers/dataset.py
--- a/lib/galaxy/webapps/galaxy/controllers/dataset.py
+++ b/lib/galaxy/webapps/galaxy/controllers/dataset.py
@@ -705,9 +705,10 @@
if 'display_url' not in kwd or 'redirect_url' not in kwd:
return trans.show_error_message( 'Invalid parameters specified for "display at" link, please contact a Galaxy administrator' )
try:
- redirect_url = kwd['redirect_url'] % urllib.quote_plus( kwd['display_url'] )
+ redirect_url = kwd['redirect_url'] % urllib.quote_plus( kwd['display_url'] )
except:
- redirect_url = kwd['redirect_url'] # not all will need custom text
+ redirect_url = kwd['redirect_url'] # not all will need custom text
+ redirect_url = redirect_url.encode( 'utf-8' )
current_user_roles = trans.get_current_user_roles()
if trans.app.security_agent.dataset_is_public( data.dataset ):
return trans.response.send_redirect( redirect_url ) # anon access already permitted by rbac
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/commits/51760f44ba6d/
Changeset: 51760f44ba6d
User: natefoo
Date: 2013-09-26 14:36:34
Summary: Handle DRM failures in the DRMAA runner.
Affected #: 1 file
diff -r ce0b8a3a966d24edd0ba8c7dc51213929c4de75d -r 51760f44ba6d8994c5f46b26f77c9c3a7708b802 lib/galaxy/jobs/runners/drmaa.py
--- a/lib/galaxy/jobs/runners/drmaa.py
+++ b/lib/galaxy/jobs/runners/drmaa.py
@@ -226,7 +226,13 @@
if state == drmaa.JobState.RUNNING and not ajs.running:
ajs.running = True
ajs.job_wrapper.change_state( model.Job.states.RUNNING )
- if state in ( drmaa.JobState.DONE, drmaa.JobState.FAILED ):
+ if state == drmaa.JobState.FAILED:
+ if ajs.job_wrapper.get_state() != model.Job.states.DELETED:
+ ajs.stop_job = False
+ ajs.fail_message = "The cluster DRM system terminated this job"
+ self.work_queue.put( ( self.fail_job, ajs ) )
+ continue
+ if state == drmaa.JobState.DONE:
if ajs.job_wrapper.get_state() != model.Job.states.DELETED:
self.work_queue.put( ( self.finish_job, ajs ) )
continue
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/commits/ce0b8a3a966d/
Changeset: ce0b8a3a966d
User: dannon
Date: 2013-09-25 22:43:41
Summary: Fix app startup for uwsgi and multiprocess.
Affected #: 1 file
diff -r 9852a9c70535775c6423a42d6924eead6c4bdad1 -r ce0b8a3a966d24edd0ba8c7dc51213929c4de75d lib/galaxy/app.py
--- a/lib/galaxy/app.py
+++ b/lib/galaxy/app.py
@@ -172,6 +172,7 @@
self.job_stop_queue = self.job_manager.job_stop_queue
# Initialize the external service types
self.external_service_types = external_service_types.ExternalServiceTypesCollection( self.config.external_service_type_config_file, self.config.external_service_type_path, self )
+ self.model.engine.dispose()
def shutdown( self ):
self.job_manager.shutdown()
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/commits/b8d8f81bed87/
Changeset: b8d8f81bed87
User: jgoecks
Date: 2013-09-25 20:45:25
Summary: For bed/gff/vcf converter, only use -split option when appropriate.
Affected #: 1 file
diff -r ff806b8e5f18791641fa49a20d9bea9e65215310 -r b8d8f81bed872e58b4691643de8a08fa41662e71 lib/galaxy/datatypes/converters/bed_gff_or_vcf_to_bigwig_converter.xml
--- a/lib/galaxy/datatypes/converters/bed_gff_or_vcf_to_bigwig_converter.xml
+++ b/lib/galaxy/datatypes/converters/bed_gff_or_vcf_to_bigwig_converter.xml
@@ -9,7 +9,12 @@
grep -v '^#' $input | sort -k1,1 |
## Generate coverage bedgraph.
- bedtools genomecov -bg -split -i stdin -g $chromInfo
+ bedtools genomecov -bg -i stdin -g $chromInfo
+
+ ## Only use split option for bed and gff/gff3/gtf.
+ #if $input.ext in [ 'bed', 'gff', 'gff3', 'gtf' ]:
+ -split
+ #end if
## Streaming the bedgraph file to wigToBigWig is fast but very memory intensive; hence, this
## should only be used on systems with large RAM.
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/commits/ff806b8e5f18/
Changeset: ff806b8e5f18
User: dannon
Date: 2013-09-25 20:42:29
Summary: Oops. Prints.
Affected #: 1 file
diff -r 751e7989d0766d101df5c3175e6164afc86ba7c8 -r ff806b8e5f18791641fa49a20d9bea9e65215310 lib/galaxy/objectstore/__init__.py
--- a/lib/galaxy/objectstore/__init__.py
+++ b/lib/galaxy/objectstore/__init__.py
@@ -209,9 +209,6 @@
self.extra_dirs[e.tag] = e.get('path')
if extra_dirs is not None:
self.extra_dirs.update( extra_dirs )
- print "DISK OBJECT STORE:"
- print self.file_path
- print self.extra_dirs
def _get_filename(self, obj, base_dir=None, dir_only=False, extra_dir=None, extra_dir_at_root=False, alt_name=None):
"""Class method that returns the absolute path for the file corresponding
@@ -613,7 +610,6 @@
store = config.object_store
if store == 'disk':
- print "BUILDING DISK OBJECT STORE"
return DiskObjectStore(config=config, config_xml=config_xml)
elif store == 's3' or store == 'swift':
from galaxy.objectstore.s3 import S3ObjectStore
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.