Example #1
0
    def execute( self, notification ) :
        proxy = self.facade.retrieveProxy( RunningStateProxy.NAME )
        scoreMatrix = proxy.getData()[ ScoreMatrixResultVO.VONAME ]
        settings = proxy.getData()[ PairwiseSelectorVO.VONAME ]
        scores = scoreMatrix.result
        names = scoreMatrix.names
        
        result = Sequencing.constructNewickTree( scores, names )

        self.sendNotification( Messages.SHOW_RESULTS, result )
        if settings.useForester :
            self.sendNotification( Messages.SHOW_TREE_GRAPHICALLY, result )
Example #2
0
    def execute(self, notification):
        proxy = self.facade.retrieveProxy(RunningStateProxy.NAME)
        scoreMatrix = proxy.getData()[ScoreMatrixResultVO.VONAME]
        settings = proxy.getData()[PairwiseSelectorVO.VONAME]
        scores = scoreMatrix.result
        names = scoreMatrix.names

        result = Sequencing.constructNewickTree(scores, names)

        self.sendNotification(Messages.SHOW_RESULTS, result)
        if settings.useForester:
            self.sendNotification(Messages.SHOW_TREE_GRAPHICALLY, result)