-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Error while running CurvedPlanarReformat.py via SlicerPython, 3D Slicer version 5.8.1.
How to reproduce:
Add following lines to end of script:
def main():
test = CurvedPlanarReformatTest()
test.runTest()
print("Full unit test passed")
if __name__ == "__main__":
print("Starting Curved Planar Reformat Module")
main()
./PythonSlicer /path/to/CurvedPlanarReformat.py
Output:
No module named 'logic'
Traceback (most recent call last):
File "/redacted/CurvedPlanarReformation.py", line 621, in main
test.runTest()
File "/redacted/CurvedPlanarReformation.py", line 508, in runTest
self.setUp()
File "/redacted/CurvedPlanarReformation.py", line 503, in setUp
slicer.mrmlScene.Clear(0)
AttributeError: module 'slicer' has no attribute 'mrmlScene'
Metadata
Metadata
Assignees
Labels
No labels