[hg] galaxy 1697: galaxy.config.resolve_path is not absolute...
details: http://www.bx.psu.edu/hg/galaxy/rev/a6d6c2e4c021 changeset: 1697:a6d6c2e4c021 user: Nate Coraor <nate@bx.psu.edu> date: Fri Jan 09 17:18:18 2009 -0500 description: galaxy.config.resolve_path is not absolute... 1 file(s) affected in this change: lib/galaxy/config.py diffs (21 lines): diff -r aac0403bbe68 -r a6d6c2e4c021 lib/galaxy/config.py --- a/lib/galaxy/config.py Fri Jan 09 17:08:49 2009 -0500 +++ b/lib/galaxy/config.py Fri Jan 09 17:18:18 2009 -0500 @@ -15,7 +15,7 @@ if not( os.path.isabs( path ) ): path = os.path.join( root, path ) return path - + class ConfigurationError( Exception ): pass @@ -44,7 +44,7 @@ self.cluster_job_queue_workers = int( kwargs.get( "cluster_job_queue_workers", "5" ) ) self.job_scheduler_policy = kwargs.get("job_scheduler_policy", "FIFO") self.job_queue_cleanup_interval = int( kwargs.get("job_queue_cleanup_interval", "5") ) - self.cluster_files_directory = resolve_path( kwargs.get( "cluster_files_directory", "database/pbs" ), self.root ) + self.cluster_files_directory = os.path.abspath( kwargs.get( "cluster_files_directory", "database/pbs" ) ) self.job_working_directory = resolve_path( kwargs.get( "job_working_directory", "database/job_working_directory" ), self.root ) self.outputs_to_working_directory = string_as_bool( kwargs.get( 'outputs_to_working_directory', False ) ) self.admin_pass = kwargs.get('admin_pass',"galaxy")
participants (1)
-
Greg Von Kuster