1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/4ee7b5f6b23d/ changeset: 4ee7b5f6b23d user: greg date: 2011-12-18 16:52:02 summary: Always set / return the absolute path of the file to which the datatypes registry is persisted. affected #: 2 files diff -r da4342bc04c779a50f50431fbec87d3d0c56576b -r 4ee7b5f6b23db6f92bfe6b895bb6db5f4cf4d7b1 lib/galaxy/datatypes/registry.py --- a/lib/galaxy/datatypes/registry.py +++ b/lib/galaxy/datatypes/registry.py @@ -441,7 +441,7 @@ pass self.xml_filename = None fd, filename = tempfile.mkstemp() - self.xml_filename = filename + self.xml_filename = os.path.abspath( filename ) if self.converters_path_attr: converters_path_str = ' converters_path="%s"' % self.converters_path_attr else: @@ -466,4 +466,4 @@ os.write( fd, '</sniffers>\n' ) os.write( fd, '</datatypes>\n' ) os.close( fd ) - return filename + return os.path.abspath( filename ) diff -r da4342bc04c779a50f50431fbec87d3d0c56576b -r 4ee7b5f6b23db6f92bfe6b895bb6db5f4cf4d7b1 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -1673,7 +1673,7 @@ # datatypes conf path, so we can load the datatypes registry param_dict['__root_dir__'] = param_dict['GALAXY_ROOT_DIR'] = os.path.abspath( self.app.config.root ) datatypes_config = self.app.datatypes_registry.to_xml_file() - param_dict['__datatypes_config__'] = param_dict['GALAXY_DATATYPES_CONF_FILE'] = os.path.abspath( datatypes_config ) + param_dict['__datatypes_config__'] = param_dict['GALAXY_DATATYPES_CONF_FILE'] = datatypes_config # Return the dictionary of parameters return param_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.