diff datatypes/Datatype.py @ 72:2440ce10848b draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit a60f8496cccf4c5a07ba7d75876198eda997f07d
author yating-l
date Wed, 27 Sep 2017 15:34:20 -0400
parents 4ca7cbf2d9b8
children 0bc486356e2a
line wrap: on
line diff
--- a/datatypes/Datatype.py	Wed Sep 27 11:15:44 2017 -0400
+++ b/datatypes/Datatype.py	Wed Sep 27 15:34:20 2017 -0400
@@ -75,7 +75,7 @@
     def validateData(self):
         """validate the input data with DataValidation"""
     
-    def initSettings(self, trackType = None):
+    def initSettings(self):
         #Initialize required fields: trackName, longLabel, shortLable
         self.trackName = self.trackSettings["name"]
         if self.trackSettings["long_label"]:
@@ -87,8 +87,7 @@
         else:
             self.shortLabel = self.trackSettings["short_label"]
         self.trackDataURL = os.path.join(self.myTrackFolderPath, self.trackName)
-        if trackType:
-            self.trackType = trackType
+        
 
     @abc.abstractmethod
     def createTrack(self):