Mercurial > repos > cropgeeks > flapjack
comparison flapjack.py @ 53:1de63acd6b12 draft
Uploaded
author | cropgeeks |
---|---|
date | Tue, 29 Aug 2017 08:15:12 -0400 |
parents | 4a0f069c98e0 |
children |
comparison
equal
deleted
inserted
replaced
52:3e426561ac83 | 53:1de63acd6b12 |
---|---|
46 h.close() | 46 h.close() |
47 return False | 47 return False |
48 return True | 48 return True |
49 | 49 |
50 class FlapjackPhenotypeFormat(Tabular): | 50 class FlapjackPhenotypeFormat(Tabular): |
51 file_ext = "fjphenotye" | 51 file_ext = "fjphenotype" |
52 | 52 |
53 def sniff( self, filename ): | 53 def sniff( self, filename ): |
54 h = open(filename) | 54 h = open(filename) |
55 line = h.readline() | 55 line = h.readline() |
56 if line.rstrip() != "# fjFile = PHENOTYPE": | 56 if line.rstrip() != "# fjFile = PHENOTYPE": |