Ticket #52 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

UnsupportedOperationException in IDMapperStack.freeAttributeSearch()

Reported by: jgao Owned by: martijn
Milestone: milestone_1.0 Component: Core library
Version: 1.0 Severity: major
Keywords: Cc:

Description (last modified by jgao) (diff)

Bridge-rdb and bridge-rest AttributeMappers? support free search, but biomart AttributeMapper? does not. The problem is that if an IDMapperStack contains both IDMapperRdb and IDMapperBiomart, IDMapperStack.freeAttributeSearch() will throw an UnsupportedOperationException?. To solve this problem, we could add another method isFreeAttributeSearchSupported() in AttributeMapper?, similar as in IDMapper. Or we can wrap getAttributeSet() and isFreeAttributeSearchSupported() in AttributeMapperCapacities?, just like what we did for IDMapper.

This problem can be reproduce in CyThesaurus? by stacking an IDMapperBiomart and IDMapperRdb and mapping from Symbol to any accessions.

Change History

Changed 2 years ago by jgao

  • description modified (diff)

Changed 2 years ago by jgao

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