Mercurial > repos > yating-l > hubarchivecreator
comparison TrackDb.py @ 70:39a32cb31623 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 159730602ff500b59aefc7080fb49b726c88d655-dirty
| author | yating-l |
|---|---|
| date | Tue, 26 Sep 2017 18:46:02 -0400 |
| parents | 4ca7cbf2d9b8 |
| children | b724e559907e |
comparison
equal
deleted
inserted
replaced
| 69:ffbec960dc34 | 70:39a32cb31623 |
|---|---|
| 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 not "group" in extraSettings: | 70 #if "group" in extraSettings: |
| 71 extraSettings["group"] = "Default group" | 71 #extraSettings["group"] = santitizer.sanitize_group_name(extraSettings["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: |
