Add the ability to define datatypes in the configuration file.

Datatypes are defined like:
[galaxy:datatypes]
bed = galaxy.datatypes.interval:Bed
png = galaxy.datatypes.images:Image,image/png

where the mime-type (default of text/plain) can be declared after the class name, as is seen with png.
This commit is contained in:
Daniel Blankenberg
2007-06-01 19:25:19 +00:00
parent 437399fc66
commit 4cbfce361b
17 changed files with 204 additions and 108 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ def exec_after_process(app, inp_data, out_data, param_dict, tool, stdout, stderr
data.name = data.name + " (" + description + ")"
data.dbkey = dbkey
data.info = data.name
datatypes.change_datatype( data, file_type )
data = app.datatypes_registry.change_datatype( data, file_type )
data.init_meta()
data.set_peek()
app.model.flush()