예제 #1
0
def create_dir_module(dname, d=None):
    if d is None:
        d = Directory()
    d.name = dname
    d.upToDate = True
    return d
예제 #2
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
def directory_wrapper(self, path, generator = None):
    ret = Directory.translate_to_python(path)
    return ret
 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)
예제 #5
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)
예제 #6
0
def directory_wrapper(self, path, generator=None):
    ret = Directory.translate_to_python(path)
    return ret