comparison Psl.py @ 57:b39dd0b5a166 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit ce28781f52a4f84039de300cb41e3982f2e8bf51-dirty
author yating-l
date Fri, 30 Jun 2017 14:49:14 -0400
parents c66803bff0cc
children a0fc8379223c
comparison
equal deleted inserted replaced
56:04cc7c2e7b47 57:b39dd0b5a166
17 self.name_psl = data_psl["name"] 17 self.name_psl = data_psl["name"]
18 self.priority = data_psl["order_index"] 18 self.priority = data_psl["order_index"]
19 self.track_color = data_psl["track_color"] 19 self.track_color = data_psl["track_color"]
20 # TODO: Think about how to avoid repetition of the group_name everywhere 20 # TODO: Think about how to avoid repetition of the group_name everywhere
21 self.group_name = data_psl["group_name"] 21 self.group_name = data_psl["group_name"]
22 self.database = data_psl["database"]
22 if data_psl["long_label"]: 23 if data_psl["long_label"]:
23 self.long_label = data_psl["long_label"] 24 self.long_label = data_psl["long_label"]
24 else: 25 else:
25 self.long_label = self.name_psl 26 self.long_label = self.name_psl
26 # Temporary files 27 # Temporary files
56 long_label=self.long_label, 57 long_label=self.long_label,
57 track_type='bigPsl', visibility='dense', 58 track_type='bigPsl', visibility='dense',
58 priority=self.priority, 59 priority=self.priority,
59 track_file=my_big_psl_file_path, 60 track_file=my_big_psl_file_path,
60 track_color=self.track_color, 61 track_color=self.track_color,
61 group_name=self.group_name) 62 group_name=self.group_name,
63 database=self.database)
62 64
63 print("- BigPsl %s created" % self.name_psl) 65 print("- BigPsl %s created" % self.name_psl)