diff Datatype.py @ 26:df42241d3731 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit c11beb58525fe6453a2180fe7783f6e8b0151901-dirty
author yating-l
date Mon, 03 Jul 2017 17:30:20 -0400
parents 2677f1899aa8
children
line wrap: on
line diff
--- a/Datatype.py	Fri Jun 02 17:36:24 2017 -0400
+++ b/Datatype.py	Mon Jul 03 17:30:20 2017 -0400
@@ -76,7 +76,7 @@
                     file_path=None,
                     track_name=None, long_label=None, thick_draw_item='off',
                     short_label=None, track_type=None, visibility=None, priority=None,
-                    track_file=None, track_color='#000000', group_name="Default"):
+                    track_file=None, track_color='#000000', group_name="Default", database=""):
 
         # TODO: Remove the hardcoded "tracks" by the value used as variable from myTrackFolderPath
         data_url = "tracks/%s" % file_path
@@ -97,7 +97,6 @@
 
         #sanitize the track_name
         sanitized_name = subtools.fixName(track_name)
-        
         track_db = TrackDb(
                 trackName=sanitized_name,
                 longLabel=long_label,
@@ -108,7 +107,8 @@
                 thickDrawItem=thick_draw_item,
                 priority=priority,
                 track_color=rgb_ucsc,
-                group_name=group_name
+                group_name=group_name,
+                database=database
         )
 
         # Return the Bam Track Object