4 from argparse
import ArgumentParser
5 from PMGTools.WeightHelpers
import weightNameCleanup, weightNameWithPrefix
7 parser = ArgumentParser(prog=
'generator-weights')
8 parser.add_argument(
'weights', metavar=
'weights', type=str, nargs=
"+",
9 help=
"specify the list of weights")
10 parser.add_argument(
'-p',
'--prefixed', default=
False, action=
"store_true",
11 help=
"add prefix to cleaned weights")
12 args = parser.parse_args()
14 for weight
in args.weights: