Exemplo n.º 1
0
def glue_gui():

    d = data_factories.load_data(DEIMOSTABLE)
    dc = DataCollection([])
    dc.append(d)

    # Creates glue instance
    app = GlueApplication(dc)
    app.setVisible(True)

    # Adds data to the MosVizViewer
    app.new_data_viewer(MOSVizViewer)
    app.viewers[0][0].add_data_for_testing(app.data_collection[0])

    return app
Exemplo n.º 2
0
    def glue_gui():

        d = data_factories.load_data(DEIMOSTABLE)
        dc = DataCollection([])
        dc.append(d)

        # Creates glue instance
        app = GlueApplication(dc)
        app.setVisible(True)

        # Adds data to the MosVizViewer
        app.new_data_viewer(MOSVizViewer)
        app.viewers[0][0].add_data_for_testing(app.data_collection[0])

        return app