def _getTrack(self): track = Track(self._trackName) track.addFormatReq(TrackFormatReq(allowOverlaps=self._allowOverlaps)) return track
def _getTrackView(self, trackName, region, allowOverlaps): track = Track(trackName) track.addFormatReq(TrackFormatReq(allowOverlaps=allowOverlaps)) return track.getTrackView(region)