def run(result_dir, src_dir):
    lines = readSrc(src_dir)
    dico = getLinesWithRegExp(lines)
    run_log = os.path.join(result_dir, 'run.log')
    writeRunLog(dico, run_log)
    trad_org = os.path.join(result_dir, 'TRAD_2.org')
    fi = open(trad_org, 'r')
    st_org = fi.read()
    fi.close()
    st = st_org
    trad_add = os.path.join(result_dir, 'TRAD2_ajout0')
    if os.path.exists(trad_add):
        fi = open(trad_add, 'r')
        st += fi.read()
        fi.close()
    trad_ajout = os.path.join(result_dir, 'TRAD_2')
    writeOutPutFile(dico, trad_ajout, st)
    return
def run(result_dir, src_dir):
    lines = readSrc(src_dir)
    dico = getLinesWithRegExp(lines)
    run_log = os.path.join(result_dir, 'run.log')
    writeRunLog(dico, run_log)
    trad_org = os.path.join(result_dir, 'TRAD_2.org')
    fi = open(trad_org, 'r')
    st_org = fi.read()
    fi.close()
    st = st_org
    trad_add = os.path.join(result_dir, 'TRAD2_ajout0')
    if os.path.exists(trad_add):
        fi = open(trad_add, 'r')
        st += fi.read()
        fi.close()
    trad_ajout = os.path.join(result_dir, 'TRAD_2')
    writeOutPutFile(dico, trad_ajout, st)
    return