def send_output(config, out_file):
    if config.get("type") == "S3":
        keyname = "%s/%s" % (tz.get_in(["folders", "output"], config), os.path.basename(out_file))
        bucket = tz.get_in(["buckets", "run"], config)
        _put_s3(out_file, keyname, bucket)
    else:
        pass
Test errors thrown when creating or deleting aliases.
dataset/ETHPy150Open chapmanb/bcbio-nextgen-vm/bcbiovm/ship/pack.py/send_output--crossover with--dataset/ETHPy150Open aparo/pyes/tests/test_aliases.py/ErrorReportingTestCase.testCreateDeleteAliases