from pathlib import Path


def create_workdir(tmp_dir: Path, name: str):
    """
    Create temporal workdir
    """
    # create workdir for each job
    workdir = tmp_dir / name
    workdir.mkdir()

    return workdir