if radius_range: None is specified in filter_params.yaml, which it is if no range is selected, optgeom gives the following error:
Set parameter : minf_size --> 3
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/Current/bin/optgeom", line 5, in
pkg_resources.run_script('pypad==0.0.1', 'optgeom')
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pkg_resources.py", line 467, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pkg_resources.py", line 1200, in run_script
execfile(script_filename, namespace, namespace)
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/EGG-INFO/scripts/optgeom", line 102, in
main()
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/EGG-INFO/scripts/optgeom", line 92, in main
optizor = opt.Optimizer(geometry, optimization_params)
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/pypad/autogeom/optimize.py", line 112, in init**
self.radius_range = np.sort(np.array(self.radius_range, dtype=np.float))
ValueError: setting an array element with a sequence.
if
radius_range: None
is specified infilter_params.yaml
, which it is if no range is selected, optgeom gives the following error:Set parameter : minf_size --> 3 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/Current/bin/optgeom", line 5, in
pkg_resources.run_script('pypad==0.0.1', 'optgeom')
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pkg_resources.py", line 467, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pkg_resources.py", line 1200, in run_script
execfile(script_filename, namespace, namespace)
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/EGG-INFO/scripts/optgeom", line 102, in
main()
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/EGG-INFO/scripts/optgeom", line 92, in main
optizor = opt.Optimizer(geometry, optimization_params)
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/pypad/autogeom/optimize.py", line 112, in init**
self.radius_range = np.sort(np.array(self.radius_range, dtype=np.float))
ValueError: setting an array element with a sequence.