added snpmatrix data type to genetics.py

This commit is contained in:
Ross Lazarus
2008-06-05 15:46:56 +00:00
parent 928bc214de
commit a4252908c8
+13
View File
@@ -124,6 +124,19 @@ class Rgenetics(Html):
return True
return False
class SNPMatrix(Rgenetics):
"""fake class to distinguish different species of Rgenetics data collections
"""
file_ext="snpmatrix"
def set_peek( self, dataset ):
dataset.peek = "Binary RGenetics file"
dataset.blurb = data.nice_size( dataset.get_size() )
def sniff( self, filename ):
"""
"""
return True
class Lped(Rgenetics):
"""fake class to distinguish different species of Rgenetics data collections
"""