Ignore:
Timestamp:
01/09/12 20:56:36 (2 years ago)
Author:
markotoplak
Branch:
default
Convert:
738752a0c7d4b09064ca82da7eb74891fde3fa34
Message:

Used the same get_meta_id everywhere.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/Orange.data.domain.rst

    r9524 r9525  
    143143 
    144144     >>> misses = Orange.data.variable.Continuous("misses") 
    145      >>> id = orange.new_meta_id() 
     145     >>> id = Orange.data.new_meta_id() 
    146146     >>> data.domain.add_meta(id, misses) 
    147147 
     
    189189     d2 = Orange.data.Domain(["a", "b", "e", "y"], domain) 
    190190     for attr in ["c", "d", "f"]: 
    191      d2.add_meta(orange.newmetaid(), domain[attr]) 
    192      d2.add_meta(orange.newmetaid(), orange.data.variable.Discrete("X")) 
     191     d2.add_meta(Orange.data.new_meta_id(), domain[attr]) 
     192     d2.add_meta(Orange.data.new_meta_id(), orange.data.variable.Discrete("X")) 
    193193     data2 = Orange.data.Table(d2, data) 
    194194 
Note: See TracChangeset for help on using the changeset viewer.