Mercurial > repos > bgruening > sklearn_numeric_clustering
comparison to_categorical.py @ 36:73e7f1c76ece draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ea12f973df4b97a2691d9e4ce6bf6fae59d57717"
author | bgruening |
---|---|
date | Sat, 01 May 2021 00:48:46 +0000 |
parents | 816b65d52c33 |
children |
comparison
equal
deleted
inserted
replaced
35:e7f047a9dca9 | 36:73e7f1c76ece |
---|---|
41 | 41 |
42 if __name__ == "__main__": | 42 if __name__ == "__main__": |
43 aparser = argparse.ArgumentParser() | 43 aparser = argparse.ArgumentParser() |
44 aparser.add_argument("-i", "--inputs", dest="inputs", required=True) | 44 aparser.add_argument("-i", "--inputs", dest="inputs", required=True) |
45 aparser.add_argument("-y", "--infile", dest="infile") | 45 aparser.add_argument("-y", "--infile", dest="infile") |
46 aparser.add_argument("-n", "--num_classes", dest="num_classes", type=int, default=None) | 46 aparser.add_argument( |
47 "-n", "--num_classes", dest="num_classes", type=int, default=None | |
48 ) | |
47 aparser.add_argument("-o", "--outfile", dest="outfile") | 49 aparser.add_argument("-o", "--outfile", dest="outfile") |
48 args = aparser.parse_args() | 50 args = aparser.parse_args() |
49 | 51 |
50 main(args.inputs, args.infile, args.outfile, args.num_classes) | 52 main(args.inputs, args.infile, args.outfile, args.num_classes) |