From c0f5b0c043345f32a1e0cbbd3b0daa5f7c1609da Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Wed, 3 Dec 2008 22:21:16 +0000 Subject: [PATCH] Store the bustard pathname when searching for run folders This was needed so the srf file can use the same runfolder scanning code as the --extract-results feature. --- htsworkflow/pipelines/bustard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htsworkflow/pipelines/bustard.py b/htsworkflow/pipelines/bustard.py index 1658b17..54659b4 100644 --- a/htsworkflow/pipelines/bustard.py +++ b/htsworkflow/pipelines/bustard.py @@ -69,6 +69,7 @@ class Bustard(object): self.date = date.today() self.user = None self.phasing = {} + self.pathname = None if xml is not None: self.set_elements(xml) @@ -133,6 +134,7 @@ def bustard(pathname): t = time.strptime(groups[1], EUROPEAN_STRPTIME) b.date = date(*t[0:3]) b.user = groups[2] + b.pathname = pathname paramfiles = glob(os.path.join(pathname, "params?.xml")) for paramfile in paramfiles: phasing = Phasing(paramfile) -- 2.30.2