commit/galaxy-central: greg: Send the persisted data types registry instead of None as the value of the datatypes_config parameter to the setup_external_metadata method when creating the cmd_line in the SetMetadataToolAction.execute() method. This eliminates the use of the hard-coded 'datatypes_conf.xml' file name when setting metadata externally.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/da4342bc04c7/ changeset: da4342bc04c7 user: greg date: 2011-12-18 15:16:52 summary: Send the persisted data types registry instead of None as the value of the datatypes_config parameter to the setup_external_metadata method when creating the cmd_line in the SetMetadataToolAction.execute() method. This eliminates the use of the hard-coded 'datatypes_conf.xml' file name when setting metadata externally. affected #: 1 file diff -r be0a75fd565845be5d6a9719552013548bb6a82f -r da4342bc04c779a50f50431fbec87d3d0c56576b lib/galaxy/tools/actions/metadata.py --- a/lib/galaxy/tools/actions/metadata.py +++ b/lib/galaxy/tools/actions/metadata.py @@ -51,7 +51,7 @@ dataset_files_path = trans.app.model.Dataset.file_path, output_fnames = None, config_root = None, - datatypes_config = None, + datatypes_config = trans.app.datatypes_registry.to_xml_file(), job_metadata = None, kwds = { 'overwrite' : overwrite } ) incoming[ '__SET_EXTERNAL_METADATA_COMMAND_LINE__' ] = cmd_line 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.
participants (1)
-
Bitbucket