new style option setting
This commit is contained in:
parent
f32e1900f6
commit
e43e37aae1
|
@ -200,15 +200,15 @@ parser.add_option('--bins', dest='bins', type='int', metavar='int',
|
||||||
parser.add_option('--maxseeds', dest='maxseeds', type='int', metavar='int',
|
parser.add_option('--maxseeds', dest='maxseeds', type='int', metavar='int',
|
||||||
help='maximum number of seeds to move simulateneously [number of seeds]')
|
help='maximum number of seeds to move simulateneously [number of seeds]')
|
||||||
|
|
||||||
parser.set_defaults(seedFile = 'seeds')
|
parser.set_defaults(seedFile = 'seeds',
|
||||||
parser.set_defaults(grid = (64,64,64))
|
grid = (64,64,64),
|
||||||
parser.set_defaults(threads = 2)
|
threads = 2,
|
||||||
parser.set_defaults(randomSeed = None)
|
randomSeed = None,
|
||||||
parser.set_defaults(target = 'geom')
|
target = 'geom',
|
||||||
parser.set_defaults(threshold = 20)
|
threshold = 20,
|
||||||
parser.set_defaults(bins = 15)
|
bins = 15,
|
||||||
parser.set_defaults(scale = 1.0)
|
scale = 1.0,
|
||||||
parser.set_defaults(maxseeds = 0)
|
maxseeds = 0)
|
||||||
|
|
||||||
options = parser.parse_args()[0]
|
options = parser.parse_args()[0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue