Skip to content
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

Merged
merged 21 commits into from
Aug 5, 2022
Merged

Flat bladder #186

merged 21 commits into from
Aug 5, 2022

Conversation

zekh167
Copy link
Contributor

@zekh167 zekh167 commented Apr 8, 2022

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.

Copy link
Member

@rchristie rchristie left a 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.

src/scaffoldmaker/annotation/bladder_terms.py Outdated Show resolved Hide resolved
src/scaffoldmaker/meshtypes/meshtype_3d_bladderurethra1.py Outdated Show resolved Hide resolved
src/scaffoldmaker/utils/tubemesh.py Show resolved Hide resolved
@nickerso
Copy link
Member

@zekh167 - have all the review comments been addressed and this is ready for the next round of review?

@zekh167
Copy link
Contributor Author

zekh167 commented Jul 25, 2022

@andre, yes, it is ready for next review. However, I'm going to add the flat bladder to the new bladder code as well.

@zekh167
Copy link
Contributor Author

zekh167 commented Aug 3, 2022

The issues have been fixed and it's ready for final review.

Copy link
Member

@rchristie rchristie left a 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.

@@ -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)
Copy link
Member

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.

Copy link
Member

@rchristie rchristie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@rchristie rchristie merged commit e840015 into ABI-Software:main Aug 5, 2022
@zekh167 zekh167 deleted the flat_bladder branch August 5, 2022 02:23
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.

3 participants