# SlicerTMS extension does not work in Slicer-5.4 on macOS

**URL:** <https://discourse.slicer.org/t/slicertms-extension-does-not-work-in-slicer-5-4-on-macos/31763>\
**Category:** Support\
**Created:** [September 17, 2023, 11:22pm UTC](https://discourse.slicer.org/t/slicertms-extension-does-not-work-in-slicer-5-4-on-macos/31763 "2023-09-17T23:22:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lopezchau](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lopezchau/32/67419_2.png) [@lopezchau](https://discourse.slicer.org/u/lopezchau)\
**Post date:** [September 17, 2023, 11:22pm UTC](https://discourse.slicer.org/t/slicertms-extension-does-not-work-in-slicer-5-4-on-macos/31763/1 "2023-09-17T23:22:25Z")

</div>

Dear community and developers

Does this solution applies to this neuronavigation and electric field simulator third party extension?

> **[GitHub - lorifranke/SlicerTMS: Extension in 3DSlicer for visualization of TMS](https://github.com/lorifranke/SlicerTMS)**
>
> Extension in 3DSlicer for visualization of TMS. Contribute to lorifranke/SlicerTMS development by creating an account on GitHub.

I managed to make it work with version 5.2.2 but with 5.4 the module is recognized but not actually loaded. And I get this is the error log when I run the test with version 5.4

(Sorry if this is a very basic question. Totally new here. I am not a developer but a physician interested in navigated guided transcranial magnetic stimulation.)

> Traceback (most recent call last):  
> File “/Applications/Slicer 5.4.app/Contents/bin/Python/slicer/ScriptedLoadableModule.py”, line 79, in runTest  
> TestCaseClass = getattr(module, className)  
> AttributeError: module ‘SlicerTMS’ has no attribute ‘SlicerTMSTest’
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):  
> File “/Applications/Slicer 5.4.app/Contents/bin/Python/slicer/util.py”, line 3146, in tryWithErrorDisplay  
> yield  
> File “/Applications/Slicer 5.4.app/Contents/bin/Python/slicer/ScriptedLoadableModule.py”, line 259, in onTest  
> test(msec=int(slicer.app.userSettings().value(“Developer/SelfTestDisplayMessageDelay”)), \*\*kwargs)  
> File “/Applications/Slicer 5.4.app/Contents/bin/Python/slicer/ScriptedLoadableModule.py”, line 82, in runTest  
> raise AssertionError(f’Test case class not found: {self. **module** }.{className} ')  
> AssertionError: Test case class not found: SlicerTMS.SlicerTMSTest

 ![Captura de Pantalla 2023-09-17 a la(s) 18.14.55](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/a/aab8002ca49107c52d210851cc4b47710832a00b.jpeg)
