comparison Datatype.py @ 23:2677f1899aa8 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 07210e24fe7d22f5dfc84061310280f67f781fb1-dirty
author yating-l
date Tue, 09 May 2017 15:42:43 -0400
parents 884ee2a71680
children df42241d3731
comparison
equal deleted inserted replaced
22:7ddf651457df 23:2677f1899aa8
64 return chrom_sizes.readline().split()[0] 64 return chrom_sizes.readline().split()[0]
65 65
66 # TODO: Rename for PEP8 66 # TODO: Rename for PEP8
67 def getShortName( self, name_to_shortify ): 67 def getShortName( self, name_to_shortify ):
68 # Slice to get from Long label the short label 68 # Slice to get from Long label the short label
69 short_label_slice = slice(0, 15) 69 short_label_slice = slice(0, 17)
70 70
71 return name_to_shortify[short_label_slice] 71 return name_to_shortify[short_label_slice]
72 72
73 # TODO: Better handle parameters, use heritance mecanism 73 # TODO: Better handle parameters, use heritance mecanism
74 # TODO: Use default parameters for some, like visibility 74 # TODO: Use default parameters for some, like visibility