mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-18 13:55:14 +02:00
Add Eric's suggesiton to 'raise from'
This commit is contained in:
parent
ed2d90fb22
commit
5686950b51
1 changed files with 1 additions and 2 deletions
|
|
@ -503,8 +503,7 @@ class stick_show(mocap_data_show):
|
|||
try:
|
||||
self.vals = self.vals.reshape((3, self.vals.shape[1]//3)).T
|
||||
except ValueError as e:
|
||||
print("Passed values to stick_show need to have a dimension which is divisible by 3 for display as they should be a point cloud of 3-D points.")
|
||||
raise(e)
|
||||
raise ValueError("Passed values to stick_show need to have a dimension which is divisible by 3 for display as they should be a point cloud of 3-D points.") from e
|
||||
|
||||
|
||||
class skeleton_show(mocap_data_show):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue