Skip to content

Conversation

@maxime915
Copy link

This PR adds a verification in the cleanup method to avoid accessing non_rigid_reg_kwargs if it is not defined (in the case of a rigid only registration). This fixes #218. The attribute rigid_reg_kwargs is defined in all cases, and no other attribute is accessed in this method, so no additional checks are added.

@cdgatenbee
Copy link
Collaborator

Thanks @maxime915!

-Chandler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in cleaning after rigid registration: 'Valis' object has no attribute 'non_rigid_reg_kwargs'

2 participants