You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DVGeometry will allow the user to addRefAxis() following a finalize call without raising an error or warning. Instead, an obscure error is raised, e.g.
Traceback (most recent call last):
File "runFFDExample.py", line 43, in <module>
stlmesh.vectors[:,1,:] = DVGeo.update('mesh_v1')
File "/home/ben/packages/pygeo/pygeo/DVGeometry.py", line 1281, in update
self._complexifyCoef()
File "/home/ben/packages/pygeo/pygeo/DVGeometry.py", line 2746, in _complexifyCoef
self.rot_x[key].coef = self.rot_x[key].coef.astype('D')
AttributeError: 'DVGeometry' object has no attribute 'rot_x'
Steps to reproduce issue
Create a DVGeometry object
Add a pointset
Update the pointset
Add a ref axis
Try to update again
Current behavior
Raises obscure error potentially much later than when the refAxis is added
Expected behavior
Should raise error at the time the ref axis is added if the system is finalized
The text was updated successfully, but these errors were encountered:
@bernardopacini@sseraj as you mentioned you are working on testing, there might also be an opportunity to fix and test this issue (I also call myself in to work on this @marcomangano )
Description
DVGeometry will allow the user to addRefAxis() following a finalize call without raising an error or warning. Instead, an obscure error is raised, e.g.
Steps to reproduce issue
Current behavior
Raises obscure error potentially much later than when the refAxis is added
Expected behavior
Should raise error at the time the ref axis is added if the system is finalized
The text was updated successfully, but these errors were encountered: