SBU-BMI / SlicerPathology

3D Slicer extension for Pathology segmentation tools
http://bmi.stonybrookmedicine.edu
Other
5 stars 8 forks source link

Module won't start - testing code committed by accident? #100

Closed pieper closed 6 years ago

pieper commented 6 years ago

It looks like some code was added that doesn't belong: https://github.com/SBU-BMI/SlicerPathology/blame/master/SlicerPathology/SlicerPathology.py#L749-L783

It's leading to the issue described here:

https://discourse.slicer.org/t/pathology-module-install-fail-due-to-slicewidget-attribute-error/2269/4

mingrui commented 6 years ago

@pieper

Please see here, the problem is with indentation, you need to use 4 spaces and indent these lines

https://github.com/SBU-BMI/SlicerPathology/issues/101

fedorov commented 6 years ago

@mingrui whether it's dead code, or code that was not properly indented - it must be fixed for the module to be functional.

Hopefully someone from @SBU-BMI/applied-informatics will look into it, or perhaps this module is no longer maintained - I am not sure.

fedorov commented 6 years ago

Thanks! I haven't tested the updated code, but I hope it works now!