Ignore:
Timestamp:
11/01/13 02:09:11 (6 months ago)
Author:
blaz <blaz.zupan@…>
Branch:
default
Message:

Changes in headers, widget descriptions text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Data/OWMultiMergeData.py

    r11747 r11748  
    1 """ 
    2 <name>Multi-key Merge Data</name> 
    3 <description>Merge datasets based on values of selected tuples of attributes.</description> 
    4 <icon>icons/MergeData.svg</icon> 
    5 <priority>100</priority> 
    6 <contact>Peter Husen (phusen@bmb.sdu.dk)</contact> 
    7 """ 
    8  
     1import Orange 
    92from OWWidget import * 
    103from OWItemModels import PyListModel, VariableListModel 
    114 
    12 #import OWGUI 
    13 import Orange 
     5NAME = "Multi-Key Merge Data" 
     6DESCRIPTION = "Merges data sets based on values of selected groups of features." 
     7LONG_DESCRIPTION = "" 
     8ICON = "icons/MergeData.svg" 
     9PRIORITY = 100 
     10MAINTAINER = "Peter Husen" 
     11MAINTAINER_EMAIL = "phusen(@at@)bmb.sdu.dk" 
     12INPUTS = [("Data A", Orange.data.Table, "set_dataA", Default), 
     13          ("Data B", Orange.data.Table, "set_dataB")] 
     14OUTPUTS = [("Merged Data A+B", Orange.data.Table, Default), 
     15           ("Merged Data B+A", Orange.data.Table, )] 
    1416 
    1517 
     
    201203 
    202204        # Available A attributes 
    203         box = OWGUI.widgetBox(self.controlArea, "Available A attributes", addToLayout=False) 
     205        box = OWGUI.widgetBox(self.controlArea, "Features in data set A", addToLayout=False) 
    204206        self.available_attrsA = VariablesListItemModel() 
    205207        self.available_attrsA_view = VariablesListItemView() 
     
    216218 
    217219        # Used A Attributes 
    218         box = OWGUI.widgetBox(self.controlArea, "Used A attributes", addToLayout=False) 
     220        box = OWGUI.widgetBox(self.controlArea, "Used features from A", addToLayout=False) 
    219221        self.used_attrsA = VariablesListItemModel() 
    220222        self.used_attrsA_view = VariablesListItemView() 
     
    231233        # Data A info 
    232234        box = OWGUI.widgetBox(self, 'Data A', orientation = "vertical", addToLayout=0) 
    233         self.lblDataAExamples = OWGUI.widgetLabel(box, "num examples") 
    234         self.lblDataAAttributes = OWGUI.widgetLabel(box, "num attributes") 
     235        self.lblDataAExamples = OWGUI.widgetLabel(box, "#data instances") 
     236        self.lblDataAAttributes = OWGUI.widgetLabel(box, "#features") 
    235237        layout.addWidget(box, 1, 1, 1, 2) 
    236238 
    237239 
    238240        # Available B attributes 
    239         box = OWGUI.widgetBox(self.controlArea, "Available B attributes", addToLayout=False) 
     241        box = OWGUI.widgetBox(self.controlArea, "Features in data set B", addToLayout=False) 
    240242        self.available_attrsB = VariablesListItemModel() 
    241243        self.available_attrsB_view = VariablesListItemView() 
     
    252254 
    253255        # Used B Attributes 
    254         box = OWGUI.widgetBox(self.controlArea, "Used B attributes", addToLayout=False) 
     256        box = OWGUI.widgetBox(self.controlArea, "Used features from A", addToLayout=False) 
    255257        self.used_attrsB = VariablesListItemModel() 
    256258        self.used_attrsB_view = VariablesListItemView() 
     
    267269 
    268270        box = OWGUI.widgetBox(self, 'Data B', orientation = "vertical", addToLayout=0) 
    269         self.lblDataBExamples = OWGUI.widgetLabel(box, "num examples") 
    270         self.lblDataBAttributes = OWGUI.widgetLabel(box, "num attributes") 
     271        self.lblDataBExamples = OWGUI.widgetLabel(box, "#data instances") 
     272        self.lblDataBAttributes = OWGUI.widgetLabel(box, "#features") 
    271273        layout.addWidget(box, 3, 1, 1, 2) 
    272274 
Note: See TracChangeset for help on using the changeset viewer.