Esempio n. 1
0
def test_merge():
    loc1 = "test/prof-1.sav"
    loc2 = "test/prof-2.sav"
    merged = merge.merge(util.ProfSav(loc1), util.ProfSav(loc2))
    merged.write("test/prof-1-2-merged.sav")

    pass
Esempio n. 2
0
def main():
    if len(sys.argv) < 4:
        print(
            "Usage: python ftlmerge input-prof1.sav input-prof1.sav ... output.sav"
        )
        return
    merged = merge.merge([util.ProfSav(inp) for inp in sys.argv[1:-1]])
    merged.write(sys.argv[-1])
Esempio n. 3
0
def main():
    if len(sys.argv) < 4:
        print("Usage: python ftlmerge input-prof1.sav input-prof1.sav ... output.sav")
        return
    merged = merge.merge([util.ProfSav(inp) for inp in sys.argv[1:-1]])
    merged.write(sys.argv[-1])