MedicalImageAnalysisTutorials / SlicerCochlea

Multi-modal cochlea Images registration, segmentation and analysis
13 stars 4 forks source link

Simplify code relying on `slicer.modules.<modulename>.path` attribute #18

Closed jcfr closed 5 years ago

jcfr commented 5 years ago

I suggest to simplify code like the following:

https://github.com/MedicalImageAnalysisTutorials/SlicerCochlea/blob/b50284d1a1cb552a7ee38902ded33fd9e5977c6b/VisSimCommon/VisSimCommon.py#L473-L485

to only make use slicer.modules.<modulename>.path

idhamari commented 5 years ago

Thanks, I will do this after some testing.