Mercurial > repos > yating-l > jbrowsearchivecreator
comparison 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 |
comparison
equal
deleted
inserted
replaced
13:43a700afd457 | 14:3f9971a91096 |
---|---|
29 | 29 |
30 if 'category' not in self.extraSettings or not self.extraSettings['category']: | 30 if 'category' not in self.extraSettings or not self.extraSettings['category']: |
31 self.extraSettings['config']['category'] = "Default group" | 31 self.extraSettings['config']['category'] = "Default group" |
32 else: | 32 else: |
33 self.extraSettings['config']['category'] = self.extraSettings['category'] | 33 self.extraSettings['config']['category'] = self.extraSettings['category'] |
34 | 34 |
35 if "menuTemplate" in self.extraSettings: | |
36 self.extraSettings["clientConfig"]["menuTemplate"] = [{}, self.extraSettings["menuTemplate"]] | |
37 #self.extraSettings["clentConfig"]["menuTemplate"] += [{"label" : "View details"}, {"label" : "Highlight this gene"}, self.extraSettings["menuTemplate"]] | |
38 | |
35 extraConfigs['config'] = json.dumps(self.extraSettings["config"]) | 39 extraConfigs['config'] = json.dumps(self.extraSettings["config"]) |
36 extraConfigs['clientConfig'] = json.dumps(self.extraSettings["clientConfig"]) | 40 extraConfigs['clientConfig'] = json.dumps(self.extraSettings["clientConfig"]) |
37 return extraConfigs | 41 return extraConfigs |
38 | 42 |
39 | 43 |