def __init__(self, parent):
    model = slicer.app.extensionsManagerModel()
    if model.isExtensionInstalled('SlicerDMRI'):
        parent.hidden = True
    ScriptedLoadableModule.__init__(self, parent)
    self.parent.categories = ['Diffusion']
    self.parent.title = 'Install Slicer Diffusion Tools (SlicerDMRI)'
    self.parent.dependencies = []
    self.parent.contributors = ["Isaiah Norton (BWH), Lauren O'Donnell (BWH)"]
    self.parent.helpText = DMRIInstall.helpText
    self.parent.helpText += self.getDefaultModuleDocumentationLink()
    self.parent.acknowledgementText = textwrap.dedent('\n    SlicerDMRI supported by NIH NCI ITCR U01CA199459 (Open Source Diffusion MRI\n    Technology For Brain Cancer Research), and made possible by NA-MIC, NAC,\n    BIRN, NCIGT, and the Slicer Community.\n    ')
def __init__(self, parent):
    model = slicer.app.extensionsManagerModel()
    if model.isExtensionInstalled('SlicerDMRI'):
        parent.hidden = True
    ScriptedLoadableModule.__init__(self, parent)
    self.parent.categories = ['Diffusion']
    self.parent.title = 'Install Slicer Diffusion Tools (SlicerDMRI)'
    self.parent.dependencies = []
    self.parent.contributors = ["Isaiah Norton (BWH), Lauren O'Donnell (BWH)"]
    self.parent.helpText = DMRIInstall.helpText
    self.parent.helpText += self.getDefaultModuleDocumentationLink()
    self.parent.acknowledgementText = textwrap.dedent('\n    SlicerDMRI supported by NIH NCI ITCR U01CA199459 (Open Source Diffusion MRI\n    Technology For Brain Cancer Research), and made possible by NA-MIC, NAC,\n    BIRN, NCIGT, and the Slicer Community.\n    ')