[hg] galaxy 1561: Fix the use_heartbeat check in config.py

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[hg] galaxy 1561: Fix the use_heartbeat check in config.py

Nate Coraor (nate@bx.psu.edu)
details:   http://www.bx.psu.edu/hg/galaxy/rev/d3a267ac124b
changeset: 1561:d3a267ac124b
user:      Greg Von Kuster <[hidden email]>
date:      Mon Oct 20 09:25:38 2008 -0400
description:
Fix the use_heartbeat check in config.py

1 file(s) affected in this change:

lib/galaxy/config.py

diffs (12 lines):

diff -r 0a0045644219 -r d3a267ac124b lib/galaxy/config.py
--- a/lib/galaxy/config.py Fri Oct 17 13:31:17 2008 -0400
+++ b/lib/galaxy/config.py Mon Oct 20 09:25:38 2008 -0400
@@ -55,7 +55,7 @@
         self.pbs_dataset_server = kwargs.get('pbs_dataset_server', "" )
         self.pbs_dataset_path = kwargs.get('pbs_dataset_path', "" )
         self.pbs_stage_path = kwargs.get('pbs_stage_path', "" )
-        self.use_heartbeat = kwargs.get( 'use_heartbeat', False )
+        self.use_heartbeat = string_as_bool( kwargs.get( 'use_heartbeat', "False" ) )
         self.ucsc_display_sites = kwargs.get( 'ucsc_display_sites', "main,test,archaea" ).lower().split(",")
         self.gbrowse_display_sites = kwargs.get( 'gbrowse_display_sites', "wormbase,flybase,elegans" ).lower().split(",")
         self.brand = kwargs.get( 'brand', None )