Fix parameter list for base class.
authorDiane Trout <diane@caltech.edu>
Mon, 11 May 2009 20:03:16 +0000 (20:03 +0000)
committerDiane Trout <diane@caltech.edu>
Mon, 11 May 2009 20:03:16 +0000 (20:03 +0000)
I was passing in the ElementTree xml into the base class constructor instead of
an integer representing which 'end' the sample is from.
Which when working with single ended ElandLanes ended up with the ElementTree node
instead of none (which showed up in the UI).

htsworkflow/pipelines/eland.py

index bd6864e984ce3328534611ebf427b906f5bc0e6a..559a2a27837dcba42f3467e6a985ccf353e8a5f2 100644 (file)
@@ -84,7 +84,7 @@ class ElandLane(ResultLane):
     LANE = "ElandLane"
 
     def __init__(self, pathname=None, lane_id=None, end=None, genome_map=None, eland_type=None, xml=None):
-        super(ElandLane, self).__init__(pathname, lane_id, xml)
+        super(ElandLane, self).__init__(pathname, lane_id, end)
 
         self._mapped_reads = None
         self._match_codes = None