diff --git a/ImportAtlas/ImportAtlas.py b/ImportAtlas/ImportAtlas.py index 6e6d25c..aee96bd 100644 --- a/ImportAtlas/ImportAtlas.py +++ b/ImportAtlas/ImportAtlas.py @@ -384,6 +384,9 @@ def __init__(self, atlasPath): structure = FibersStructure() elif pixdimType == 'discfibers': structure = DiscFibersStructure() + if isinstance(structure, FibersStructure) and not hasattr(slicer.modules,'tractographydisplay'): + qt.QMessageBox().warning(qt.QWidget(), "Error", "Install SlicerDMRI Extension to load fiber atlases") + continue structure.atlasPath = atlasPath structure.index = i structure.name = names[i]