galaxy_ext.metadata package

Work with Galaxy metadata

Submodules

galaxy_ext.metadata.set_metadata module

Execute an external process to set_meta() on a provided list of pickled datasets.

This was formerly scripts/set_metadata.py and expects these arguments:

%prog datatypes_conf.xml job_metadata_file metadata_in,metadata_kwds,metadata_out,metadata_results_code,output_filename_override,metadata_override… max_metadata_value_size

Galaxy should be importable on sys.path and output_filename_override should be set to the path of the dataset on which metadata is being set (output_filename_override could previously be left empty and the path would be constructed automatically).

galaxy_ext.metadata.set_metadata.set_meta_with_tool_provided(dataset_instance, file_dict, set_meta_kwds, datatypes_registry, max_metadata_value_size)[source]
galaxy_ext.metadata.set_metadata.set_metadata()[source]
galaxy_ext.metadata.set_metadata.set_metadata_portable()[source]
galaxy_ext.metadata.set_metadata.set_metadata_legacy()[source]
galaxy_ext.metadata.set_metadata.validate_and_load_datatypes_config(datatypes_config)[source]
galaxy_ext.metadata.set_metadata.load_job_metadata(job_metadata)[source]
galaxy_ext.metadata.set_metadata.write_job_metadata(tool_job_working_directory, job_metadata, set_meta, tool_provided_metadata)[source]