def set_external_data_dir(path):
    """Assign data directory manually

    Otherwise, this will be inferred from the environment variable "FLOWDEC_DATA_DIR" and if
    that is not set will default to `DATA_DIR_DEFAULT`
    Args:
        path: Path containing image data to use for validation and experimentation
    """
    global _DATA_DIR
    _DATA_DIR = path
