def require_exp_directory(f):
error = "<STR_LIT>"<EOL>@wraps(f)<EOL>def wrapper(**kwargs):<EOL><INDENT>if not verify_directory(kwargs.get("<STR_LIT>")):<EOL><INDENT>raise click.UsageError(error)<EOL><DEDENT>return f(**kwargs)<EOL><DEDENT>return wrapper<EOL>
Decorator to verify that a command is run inside a valid Dallinger
    experiment directory.