def get_cosmic_files():
    fnames = []
    for ctype in ["CodingMuts", "NonCodingVariants"]:
        to_get = (FTP_DIR, ctype, VERSION) % "%sCosmic%s_%s.vcf.gz"
        fname_gz = os.path.basename(to_get)
        fname = os.path.splitext(fname_gz)[0]
        if not os.path.exists(fname):
            if not os.path.exists(fname_gz):
                subprocess.check_call(["wget", to_get])
            subprocess.check_call(["gunzip", fname_gz])
        fnames.append(fname)
    return fnames
dataset/ETHPy150Open chapmanb/cloudbiolinux/utils/prepare_cosmic.py/get_cosmic_files/swapped operands of `%`