Open Noxx23 opened 1 year ago
I tried with your test.stl and the easy command that you given.
I cannot reproduce this issue, the output is:
python eurecon.py -r 0.5 -p 1 -a resources/tesselation_vertices_layer_0.txt -i examples/test.stl -o examples/test_output Augmenting examples/test.stl object | Type: Mesh | RMSD Value: 0.5 Generating conformations: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:00<00:00, 8152.99it/s] Writing conformations: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:00<00:00, 1364.64it/s]
File "C:\Users\seanb\OneDrive\Documents\GitHub\Eurecon\eurecon.py", line 37, in
main()
File "C:\Users\seanb\anaconda3\lib\site-packages\click\core.py", line 1128, in call
return self.main(args, kwargs)
File "C:\Users\seanb\anaconda3\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "C:\Users\seanb\anaconda3\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, ctx.params)
File "C:\Users\seanb\anaconda3\lib\site-packages\click\core.py", line 754, in invoke
return __callback(args, *kwargs)
File "C:\Users\seanb\OneDrive\Documents\GitHub\Eurecon\eurecon.py", line 33, in main
eurecon.start()
File "C:\Users\seanb\OneDrive\Documents\GitHub\Eurecon\eurecon__init__.py", line 70, in start
ensemble.generate_ensemble(self.stdout_mode)
File "C:\Users\seanb\OneDrive\Documents\GitHub\Eurecon\eurecon\base\ensemble.py", line 200, in generate_ensemble
new_conformation = self.generate_conformation(axis)
File "C:\Users\seanb\OneDrive\Documents\GitHub\Eurecon\eurecon\utils\metrics.py", line 15, in wrapper
result = func(args, kwargs)
File "C:\Users\seanb\OneDrive\Documents\GitHub\Eurecon\eurecon\base\ensemble.py", line 121, in generate_conformation
conformation = np.sum(
File "<__array_function__ internals>", line 200, in sum
File "C:\Users\seanb\anaconda3\lib\site-packages\numpy\core\fromnumeric.py", line 2324, in sum
return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims,
File "C:\Users\seanb\anaconda3\lib\site-packages\numpy\core\fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, passkwargs)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.