Ignore:
Timestamp:
01/18/12 10:56:15 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
a367b01157310c282e7919193d767127e7829e26
Message:

Renamed widget channel names in line with the new naming rules/convention.
Added backwards compatibility in orngDoc loadDocument to enable loading of schemas saved before the change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Prototypes/OWSQLSelect.py

    r6538 r9546  
    7070        except Exception, e: 
    7171            self.setInfo(('Query failed:', str(e))) 
    72         self.send("Examples", self.sqlReader.data()) 
     72        self.send("Data", self.sqlReader.data()) 
    7373        self.setInfo(('Query returned', 'Read ' + str(len(self.sqlReader.data())) + ' examples!')) 
    74         self.send("Attribute Definitions", self.sqlReader.domain) 
     74        self.send("Feature Definitions", self.sqlReader.domain) 
    7575        self.setMeta() 
    7676        self.lastQuery = query 
     
    8989        self.sqlReader = orngSQL.SQLReader() 
    9090        self.inputs = [] 
    91         self.outputs = [("Examples", ExampleTable), ("Attribute Definitions", orange.Domain)] 
     91        self.outputs = [("Data", ExampleTable), ("Feature Definitions", orange.Domain)] 
    9292 
    9393        #set default settings 
Note: See TracChangeset for help on using the changeset viewer.