def main(): # parse commands parser = ArgParser(sys.argv, mode='assess') args = Args(parser, mode='assess') # calculate STOI and SNR scores metric = Metric(args) metric.getPESQ()