if name == 'Track' and attrs.get('Flowcell',"") == self.searchTerm:
self.LanesCount += len(attrs.get('Lane',""))
self.ReadsCount += int(attrs.get('Count',""))
- self.LaneReadsCount[int(attrs.get('Lane',""))-1] += int(attrs.get('Count',""))
-
+ # this loop is to separate between multiple lanes in one Lane attrbute of a Track tag
+ for l in attrs.get('Lane',""): self.LaneReadsCount[int(l)-1] += int(attrs.get('Count',""))
except:
self.Msg = 'failed parsing xml file'
return