Mercurial > repos > yating-l > jbrowsearchivecreator
diff tracks/HTMLFeatures.py @ 14:3f9971a91096 draft
planemo upload for repository https://github.com/goeckslab/jbrowse-archive-creator.git commit e526b4e8bef4677b832e940bacb8969a18efc3e3
author | yating-l |
---|---|
date | Wed, 20 Jun 2018 17:24:45 -0400 |
parents | 237707a6b74d |
children | 62dee5369e80 |
line wrap: on
line diff
--- a/tracks/HTMLFeatures.py Tue Jun 19 17:59:51 2018 -0400 +++ b/tracks/HTMLFeatures.py Wed Jun 20 17:24:45 2018 -0400 @@ -31,7 +31,11 @@ self.extraSettings['config']['category'] = "Default group" else: self.extraSettings['config']['category'] = self.extraSettings['category'] - + + if "menuTemplate" in self.extraSettings: + self.extraSettings["clientConfig"]["menuTemplate"] = [{}, self.extraSettings["menuTemplate"]] + #self.extraSettings["clentConfig"]["menuTemplate"] += [{"label" : "View details"}, {"label" : "Highlight this gene"}, self.extraSettings["menuTemplate"]] + extraConfigs['config'] = json.dumps(self.extraSettings["config"]) extraConfigs['clientConfig'] = json.dumps(self.extraSettings["clientConfig"]) return extraConfigs