Ticket #369 (closed wish: fixed)

Opened 6 years ago

Last modified 5 years ago

to_taxid v obiTaxonomy vraca set

Reported by: blaz Owned by: ales
Milestone: 2.6 Component: orng_modules
Severity: minor Keywords:
Cc: Blocking:
Blocked By:


V dokumentaciji pise "See if the organism <code>code</code> is a valid organism code (codes are obtained from, for instance, KEGG and GO data bases) and return its taxid". Funkcija obiTaxonomy.to_taxid pa vrne mnozico, npr:

In [40]: obiTaxonomy.to_taxid("sgd") Out[40]: set(4932?)

In [41]: obiTaxonomy.to_taxid("asd") Out[41]: set([])

Ce res vedno vrne samo en taxid, ali lahko spremenis tako, da vrne ali taxid ali pa None. (Ce pa dejansko obstaja moznost, da vrne vec taxid-jev, popravi v dokumentaciji).

Change History

comment:1 Changed 5 years ago by ales

  • Status changed from new to closed
  • Resolution set to fixed

Sem popravil v dokumentaciji

Note: See TracTickets for help on using tickets.