From: Diane Trout Date: Wed, 3 Dec 2008 22:21:16 +0000 (+0000) Subject: Store the bustard pathname when searching for run folders X-Git-Tag: stanford.caltech-merged-database-2009-jan-15~20 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=c0f5b0c043345f32a1e0cbbd3b0daa5f7c1609da 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. --- 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)