Mercurial > repos > sblanck > smat_datatypes
changeset 0:f19736be666b draft default tip
Imported from capsule None
author | sblanck |
---|---|
date | Fri, 09 Sep 2016 04:23:02 -0400 |
parents | |
children | |
files | datatypes_conf.xml datatypes_smat.py |
diffstat | 2 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/datatypes_conf.xml Fri Sep 09 04:23:02 2016 -0400 @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<datatypes> + <datatype_files> + <datatype_file name="datatypes_smat.py"/> + </datatype_files> + <registration> + <!--SMAT extensions--> + + <datatype extension="cond" type="galaxy.datatypes.data:Text" subclass="True" display_in_upload="true"/> + <datatype extension="rdata" type="galaxy.datatypes.binary:Binary" subclass="True" display_in_upload="true" description="Stored data from an R session"/> + <datatype extension="cel" type="galaxy.datatypes.datatypes_meta_ma:Cel" mimetype="application/octet-stream" display_in_upload="true" /> + + </registration> + + +</datatypes>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/datatypes_smat.py Fri Sep 09 04:23:02 2016 -0400 @@ -0,0 +1,7 @@ +from galaxy.datatypes import data +from galaxy.datatypes.binary import Binary + +class Cel( Binary ): + """Class for generic CEL binary format""" + file_ext = "cel" +Binary.register_unsniffable_binary_ext("cel") \ No newline at end of file