see earlier reply.
Shuly Avraham wrote:
> In a matter of fact, the second fix (remove the '$self=shift' from
> 'spel_greek') broke the term detailed page, so, the only fix that
> actually worked was to call 'spell_greek' directly (instead of
> spel_greek) from 'get_matching_synonyms'.
> On Feb 6, 2006, at 12:25 PM, Shuly Avraham wrote:
>> I think I discovered a small bug in displaying matching synonyms when
>> searching for a term.
>> I found the same behavior on the plantontology and go AmiGO.
>> A silly example: on the godatabase.org site, if you look for a term
>> 'stimulus', you will find the following terms: locomotory behavior
>> GO:0007626, gravitaxis GO:0042332, pigment accumulation GO:0043476,
>> etc. which have 'stimulus' in their synonym, but not in the name.
>> Those terms are found and displayed, but their synonyms do not appear.
>> The bug source is in 'NameMunger.pm' in the function
>> 'get_matching_synonyms', where there is a call to 'spel_greek', which
>> is defined within 'NameMunger.pm'.
>> There should either be a direct call to spell_greek which is defined
>> in GO/Util.pm, or remove the following line from spel_greek which is
>> defined within NameMunger.pm: 'my $self = shift;'.
>> Both fixed the bug. I believe I can commit the change myself, but
>> maybe you guys should look at it first.
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>> log files
>> for problems? Stop! Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>> http://sel.as-us.falkag.net/sel? cmd=lnk&kid=103432&bid=230486&dat=121642
>> Gmod-ontol-sw-dev mailing list