bug fixes in .i, .is files

etzold etzold at ebi.ac.uk
Fri May 23 09:15:19 EST 1997

dear all,

some people noticed that the "Keywords" field in SWISS-PROT was not
indexed and also, even worse, a certain Mr E. Presley could not be
found in the "Authors" index. You can fix both by applying the 
following changes to the swissprot.i and .is files:


insert a new $field in the $libformat definition in swissprot.i:

  $field:[@DF_Keywords code:key index:str indexToken:keywords]

change the .ignore attribute of $syntax from " \t" to " \t\n" 

  SWISSPROT_SYNTAX:$syntax:[file:"SRSDB:swissprot.is" ignore:" \t\n"]


add the production

  keywords:  ~ {$In:[clFields c:key] $Out} 
               (/[^;.]+/ {$Wrt:[s:$Trim:$Ct]} | /./)* ~

...while you are fixing things...in SRS5.0.5 the view manager does not
display any views. Edit the file SRSDB/views.i and DELETE the last
view definition

$View:[reptilia root:$Vlib:@?REPTILIA_DB

and do



More information about the Bio-srs mailing list