-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added child warning example #55
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joanibal, first of all, I am sorry for the delay. It's not excusable.
Are you intending this example to be part of the reg test suite? I checked the logs and I didn't see that test_parent_shape_child_rot() is being run. I think that the warning_childFFD.py needs to be renamed to begin with the word test_ in order for pytest to pick it up.
The changes look good. I would say we need to document this far better. I only know about this issue because we discussed it in the office. I think we should include an in depth explanation of this issue in the code. I dont remember the details 100% but I can help with this if you refresh my memory a bit. We should also put in comments in the childffd code pointing to this test and this behavior, so people who want to use that feature will be aware of this. |
@bbrelje I didn't intend it to be run from the reg test suite. |
I'm good with this one, then. Never used the child FFD feature so I didn't understand the backstory here. |
@joanibal Can we refer to issue #7 in the code also? Finally, I think the figures on the issue can be improved. They are difficult to understand because too many things going on. The cube example you used to explain the issue to me in FXB was great. I am guessing the script in this PR also uses that example. Would it be too much work to add those figures to the issue? |
@anilyil I will update the issue later to use a simpler example. |
* added child warning example * formatting changes * added unittest.main * tweaked unittest.main * tweaked unittest.main again * add issue ref in code
Purpose
Added an example test to show some non-intuitive child FFD behavior
Type of change
What types of change is it?
Select the appropriate type(s) that describe this PR
Testing
Explain the steps needed to test the new code to verify that it does indeed address the issue and produce the expected behavior.
Checklist
Put an
x
in the boxes that apply.flake8
andblack
to make sure the code adheres to PEP-8 and is consistently formatted