Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Make a unique temporary directory as a subdirectory of passed base
directory name.

Returns:
    The unique temporary directory created.

        def make_temp_dir(base_dirname, prefix='tmp'):
    """
    Make a unique temporary directory as a subdirectory of passed base
    directory name.

    Returns:
        The unique temporary directory created.
    """
    make_dir(base_dirname)
    uid_hex = prefix + uuid.uuid4().hex
    tmp_dir = os.path.join(base_dirname, uid_hex)
    make_dir(tmp_dir)
    return tmp_dir
        


src/g/a/gala-0.1.1/gala/pixel.py   gala(Download)
        ])
        if options.temp_dir is not None:
            temp_dir = util.make_temp_dir(options.temp_dir)
            ilastik_command += " " + " ".join([
                '--sys_tmp_dir', options.temp_dir

src/g/a/gala-HEAD/gala/pixel.py   gala(Download)
                                      pixel_prob_filename=pixel_prob_filename ) )
        if options.temp_dir is not None:
            temp_dir = util.make_temp_dir(options.temp_dir)
            ilastik_command += " --sys_tmp_dir={}".format( options.temp_dir )