import sys
from PyQt5.QtWidgets import QApplication

from datalogger.bin.workspace import Workspace
from datalogger.analysis_window_testing import AnalysisWindow


def full():
    app = 0
    app = QApplication(sys.argv)

    # Create the window
    w = AnalysisWindow()

    w.CurrentWorkspace = Workspace()
    # Load the workspace
    #CurrentWorkspace.load("//cued-fs/users/general/tab53/ts-home/Documents/urop/Logger 2017/cued_datalogger/tests/test_workspace.wsp")

    w.addon_widget.discover_addons(w.CurrentWorkspace.path + "addons/")

    # Run the program
    w.show()
    sys.exit(app.exec_())
    
if __name__ == '__main__':
    full()

import sys
from PyQt5.QtWidgets import QApplication

from datalogger.bin.workspace import Workspace
from datalogger.analysis_window_testing import AnalysisWindow


def full():
    app = 0
    app = QApplication(sys.argv)

    # Create the window
    w = AnalysisWindow()

    w.CurrentWorkspace = Workspace()
    #w.CurrentWorkspace.path = "//cued-fs/users/general/tab53/ts-home/Documents/urop/Logger 2017/cued_datalogger/"
    # Load the workspace
    #CurrentWorkspace.load("//cued-fs/users/general/tab53/ts-home/Documents/urop/Logger 2017/cued_datalogger/tests/test_workspace.wsp")

    #w.addon_widget.discover_addons(w.CurrentWorkspace.path + "addons/")

    # Run the program
    w.show()
    sys.exit(app.exec_())
    
if __name__ == '__main__':
    full()

Comment out audo-discovery of addons
Comment out audo-discovery of addons

