-
Notifications
You must be signed in to change notification settings - Fork 35
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
Flat bladder #186
Flat bladder #186
Conversation
…desAndElements" function.
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.
It looks OK actually, but need to ensure you haven't caused the colon or other tests to fail.
I'm prepared to accept it without the other fixes/comments being addressed but would expect the ILX terms to be requested for a follow up PR.
@zekh167 - have all the review comments been addressed and this is ready for the next round of review? |
@andre, yes, it is ready for next review. However, I'm going to add the flat bladder to the new bladder code as well. |
The issues have been fixed and it's ready for final review. |
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.
Only one minor change - revert changes to test_colonsegment.py which should pass already.
tests/test_colonsegment.py
Outdated
@@ -117,7 +117,7 @@ def test_mousecolonsegment1(self): | |||
self.assertAlmostEqual(surfaceArea, 468.17062489996886, delta=1.0E-6) | |||
result, flatSurfaceArea = flatSurfaceAreaField.evaluateReal(fieldcache, 1) | |||
self.assertEqual(result, RESULT_OK) | |||
self.assertAlmostEqual(flatSurfaceArea, surfaceArea, delta=1.0E-3) | |||
self.assertAlmostEqual(flatSurfaceArea, 468.1706248998369, delta=1.0E-3) |
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.
Revert this line as it should already pass.
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.
Looks great!
The two hemi bladders named as "left hemi-bladder" and "right hemi-bladders" since they include left and right ureters, respectively. However, these are not anatomical terms and only used for fitting purposes for flat prep.