Skip to content

Commit

Permalink
add EDAM annotations to image datatypes.
Browse files Browse the repository at this point in the history
  • Loading branch information
hmenager committed Feb 28, 2016
1 parent c75691a commit 35d6c0c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/galaxy/datatypes/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def sniff( self, filename ):


class Jpg( Image ):
edam_format = "format_3579"
file_ext = "jpg"

def sniff(self, filename, image=None):
Expand All @@ -71,6 +72,7 @@ def sniff(self, filename, image=None):


class Png( Image ):
edam_format = "format_3603"
file_ext = "png"

def sniff(self, filename, image=None):
Expand All @@ -79,6 +81,7 @@ def sniff(self, filename, image=None):


class Tiff( Image ):
edam_format = "format_3591"
file_ext = "tiff"

def sniff(self, filename, image=None):
Expand All @@ -87,6 +90,7 @@ def sniff(self, filename, image=None):


class Bmp( Image ):
edam_format = "format_3592"
file_ext = "bmp"

def sniff(self, filename, image=None):
Expand All @@ -104,6 +108,7 @@ def sniff(self, filename, image=None):


class Im( Image ):
edam_format = "format_3593"
file_ext = "im"

def sniff(self, filename, image=None):
Expand All @@ -112,6 +117,7 @@ def sniff(self, filename, image=None):


class Pcd( Image ):
edam_format = "format_3594"
file_ext = "pcd"

def sniff(self, filename, image=None):
Expand All @@ -120,6 +126,7 @@ def sniff(self, filename, image=None):


class Pcx( Image ):
edam_format = "format_3595"
file_ext = "pcx"

def sniff(self, filename, image=None):
Expand All @@ -128,6 +135,7 @@ def sniff(self, filename, image=None):


class Ppm( Image ):
edam_format = "format_3596"
file_ext = "ppm"

def sniff(self, filename, image=None):
Expand All @@ -136,6 +144,7 @@ def sniff(self, filename, image=None):


class Psd( Image ):
edam_format = "format_3597"
file_ext = "psd"

def sniff(self, filename, image=None):
Expand All @@ -144,6 +153,7 @@ def sniff(self, filename, image=None):


class Xbm( Image ):
edam_format = "format_3598"
file_ext = "xbm"

def sniff(self, filename, image=None):
Expand All @@ -152,6 +162,7 @@ def sniff(self, filename, image=None):


class Xpm( Image ):
edam_format = "format_3599"
file_ext = "xpm"

def sniff(self, filename, image=None):
Expand All @@ -160,6 +171,7 @@ def sniff(self, filename, image=None):


class Rgb( Image ):
edam_format = "format_3600"
file_ext = "rgb"

def sniff(self, filename, image=None):
Expand All @@ -168,6 +180,7 @@ def sniff(self, filename, image=None):


class Pbm( Image ):
edam_format = "format_3601"
file_ext = "pbm"

def sniff(self, filename, image=None):
Expand All @@ -176,6 +189,7 @@ def sniff(self, filename, image=None):


class Pgm( Image ):
edam_format = "format_3602"
file_ext = "pgm"

def sniff(self, filename, image=None):
Expand All @@ -193,6 +207,7 @@ def sniff(self, filename, image=None):


class Rast( Image ):
edam_format = "format_3605"
file_ext = "rast"

def sniff(self, filename, image=None):
Expand Down

0 comments on commit 35d6c0c

Please sign in to comment.