Simplifying main writing stuff

This commit is contained in:
Ozbolt Menegatti 2019-06-09 13:36:31 +02:00
parent 89f35f5259
commit dff9643edf

View File

@ -1360,12 +1360,12 @@ def main(structures_file, args):
word_renderer.generate_renders()
colocation_ids.determine_colocation_dispersions()
# figure out representations!
if args.output:
# figure out representations!
colocation_ids.set_representations(structures, word_renderer)
Writer.make_output_writer(args).write_out(structures, colocation_ids)
if args.all:
Writer.make_all_writer(args).write_out(structures, colocation_ids)
Writer.make_output_writer(args, colocation_ids).write_out(structures, colocation_ids)
Writer.make_all_writer(args, colocation_ids).write_out(structures, colocation_ids)
if __name__ == '__main__':
parser = argparse.ArgumentParser(