예제 #1
0
def create_dir_module(dname, d=None):
    if d is None:
        d = Directory()
    d.name = dname
    d.upToDate = True
    return d
 def set_result(self, path):
     persistent_path = Directory()
     persistent_path.name = path
     persistent_path.setResult('value', self)
     persistent_path.upToDate = True
     self.setResult("value", persistent_path)
예제 #3
0
파일: utils.py 프로젝트: AnyarInc/VisTrails
def create_dir_module(dname, d=None):
    if d is None:
        d = Directory()
    d.name = dname
    d.upToDate = True
    return d
예제 #4
0
 def set_result(self, path):
     persistent_path = Directory()
     persistent_path.name = path
     persistent_path.setResult('value', self)
     persistent_path.upToDate = True
     self.setResult("value", persistent_path)