Ticket #370 (closed wish: fixed)

Opened 5 years ago

Last modified 5 years ago

exact search in obiTaxonomy

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

Description

Ali lahko dodas argument exact k funkciji search, tako da (sem ze dodal v dokumentacijo ;-)):

search(string, onlySpecies=True, exact=False) Search the NCBI taxonomy database for an organism by string, returning a list of taxonomy IDs where any of the organism's names includes a string. If onlySpecies is True then search only in the species and subspecies nodes ob the taxonomy. If exact=True, the entire name has to match a given string.

obiTaxonomy.search("Saccharomyces cerevisiae") bi tako vrnil seznam z enim samim taxid-jem.

Change History

comment:1 Changed 5 years ago by ales

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