Ticket #259 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

ExampleTable's filter method fails

Reported by: miha Owned by: janez
Milestone: Future Component: library
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

The following fails:

import orange

table = orange.ExampleTable(orange.Domain(orange.StringVariable('crka')), a'], ['b'], ['c?)

table.filter(crka=["a", "b"])


<class 'orange.KernelException'> Traceback (most recent call last)

/home/miha/<ipython console> in <module>()

<class 'orange.KernelException'>: bad cast from 9TVariable to 13TOrangeVectorISsLb0EE

table.filter(crka="a")


<class 'orange.KernelException'> Traceback (most recent call last)

/home/miha/<ipython console> in <module>()

<class 'orange.KernelException'>: bad cast from 9TVariable to 13TOrangeVectorISsLb0EE

table.filter({"crka":"a"})


<class 'orange.KernelException'> Traceback (most recent call last)

/home/miha/<ipython console> in <module>()

<class 'orange.KernelException'>: bad cast from 9TVariable to 13TOrangeVectorISsLb0EE

Change History

comment:1 Changed 6 years ago by janez

  • Status changed from new to assigned

Zacetka ne razumem (kaj so a, b, c?), ce poskusim na kaksnih drugih podatkih, pa mi vse oblike filtra delajo. Lahko posljes skripto?

comment:2 Changed 6 years ago by janez

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.