Mercurial > repos > yating-l > hubarchivecreator
comparison TrackDb.py @ 71:b724e559907e draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 92e6dc28cbc0253b964b2cf594320042d8cd9524-dirty
| author | yating-l |
|---|---|
| date | Wed, 27 Sep 2017 11:15:44 -0400 |
| parents | 39a32cb31623 |
| children | 2440ce10848b |
comparison
equal
deleted
inserted
replaced
| 70:39a32cb31623 | 71:b724e559907e |
|---|---|
| 65 if not extraSettings: | 65 if not extraSettings: |
| 66 extraSettings = collections.OrderedDict() | 66 extraSettings = collections.OrderedDict() |
| 67 if not "color" in extraSettings: | 67 if not "color" in extraSettings: |
| 68 extraSettings["color"] = "#000000" | 68 extraSettings["color"] = "#000000" |
| 69 extraSettings["color"] = TrackDb.getRgb(extraSettings["color"]) | 69 extraSettings["color"] = TrackDb.getRgb(extraSettings["color"]) |
| 70 #if "group" in extraSettings: | 70 if not "group" in extraSettings: |
| 71 #extraSettings["group"] = santitizer.sanitize_group_name(extraSettings["group"]) | 71 extraSettings["group"] = "Default group" |
| 72 if not "thickDrawItem" in extraSettings: | 72 if not "thickDrawItem" in extraSettings: |
| 73 extraSettings["thickDrawItem"] = "off" | 73 extraSettings["thickDrawItem"] = "off" |
| 74 | 74 |
| 75 def get(self, item_name): | 75 def get(self, item_name): |
| 76 if item_name in self.track_db: | 76 if item_name in self.track_db: |
