<reponame>marcysweber/lifetime-repro-success<gh_stars>0
from run import SerialRunner, ParallelRunner
from formatter import Formatter
from saver import Saver


def run(simulation_name, file_name):
    runner = ParallelRunner(simulation_name, 400, 1000, 4)
    output = runner.run()

    formatter = Formatter(output)
    for_out = formatter.format()

    saver = Saver(for_out, file_name)
    saver.save()


def main():
    #  run("HamadryasSim", "hama_out.csv")
    run("SavannahSim", "sav_out.csv")


if __name__ == "__main__":
    main()
