@split.route('<STR_LIT>', methods=['<STR_LIT:POST>'])<EOL>def delete_experiment(experiment):
redis = _get_redis_connection()<EOL>experiment = Experiment.find(redis, experiment)<EOL>if experiment:<EOL><INDENT>experiment.delete()<EOL><DEDENT>return redirect(url_for('<STR_LIT>'))<EOL>
Delete an experiment and all its data.