def compaction_from_args(args):
    """Helper function to call compaction from doit"""

    segregation_data = open_segregation(args.segregation_file)