import sys from experiment import Experiment file = None if len(sys.argv) < 2: print('Provide YAML configuration file as argument') exit(1) file = sys.argv[1] prefix = sys.argv[2] if len(sys.argv) > 2 else '' experiment = Experiment(file, prefix) experiment.run() experiment.save_results()