~chrismd/+junk/graphite-megacarbon

« back to all changes in this revision

Viewing changes to ceres/ceres.py

  • Committer: Chris Davis
  • Date: 2011-10-25 08:53:23 UTC
  • Revision ID: chrismd@gmail.com-20111025085323-k956ammm4mgt1tut
fix find to exploit node caching

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
    for fsPath in glob( self.getFilesystemPath(nodePattern) ):
92
92
      if CeresNode.isNodeDir(fsPath):
93
93
        nodePath = self.getNodePath(fsPath)
94
 
        node = CeresNode(self, nodePath, fsPath)
 
94
        node = self.getNode(nodePath)
95
95
 
96
96
        if fromTime is None and untilTime is None:
97
97
          yield node
132
132
    self.nodePath = nodePath
133
133
    self.fsPath = fsPath
134
134
    self.metadataFile = join(fsPath, '.ceres-node')
135
 
    self.timeStep = None
 
135
    self.timeStep
136
136
    self.sliceCache = None
137
137
    self.sliceCachingBehavior = DEFAULT_SLICE_CACHING_BEHAVIOR
138
138