Ignore:
Timestamp:
01/24/12 12:02:01 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
ecb2ebe01d9c27bba317916e170d41f06a008946
Message:

orngNetwork.Network -> Orange.network.Graph

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Data/OWPythonScript.py

    r9044 r9565  
    99 
    1010import sys, traceback 
    11 import OWGUI, orngNetwork 
     11import OWGUI 
     12import Orange 
    1213 
    1314import code 
     
    264265        OWWidget.__init__(self, parent, signalManager, 'Python Script') 
    265266         
    266         self.inputs = [("in_data", ExampleTable, self.setExampleTable), ("in_distance", orange.SymMatrix, self.setDistanceMatrix), ("in_network", orngNetwork.Network, self.setNetwork), ("in_learner", orange.Learner, self.setLearner), ("in_classifier", orange.Classifier, self.setClassifier)] 
    267         self.outputs = [("out_data", ExampleTable), ("out_distance", orange.SymMatrix), ("out_network", orngNetwork.Network), ("out_learner", orange.Learner), ("out_classifier", orange.Classifier, Dynamic)] 
     267        self.inputs = [("in_data", ExampleTable, self.setExampleTable), ("in_distance", orange.SymMatrix, self.setDistanceMatrix), ("in_network", Orange.network.Graph, self.setNetwork), ("in_learner", orange.Learner, self.setLearner), ("in_classifier", orange.Classifier, self.setClassifier)] 
     268        self.outputs = [("out_data", ExampleTable), ("out_distance", orange.SymMatrix), ("out_network", Orange.network.Graph), ("out_learner", orange.Learner), ("out_classifier", orange.Classifier, Dynamic)] 
    268269         
    269270        self.in_data = None 
Note: See TracChangeset for help on using the changeset viewer.