K. Cuelenaere wrote:
>> Martin Hilbers wrote:
>> > srs still has a problem with databases sharing the same format - if you
> > try updating a number of such databases (eq embl and emnew) in one
> > go, it will only do the srsbuild for the first one, for the second
> > it will try the "srsbuild -c" and "srsbuild -m", and try to build
> > the links, but without the results of "srsbuild" these obviously fail.
> > A workaround for this is to define separate formats for emblnew
> > (EMNEW_FORMAT and EmNewFeatures_Format - or something like that)
> > These formats are identical to the original ones.
> >
> > (At least this is what I did on our server)
>> That's a good workaround Martin. Do you perhaps also know
> if something like this can be done:
>> EMNEW_FORMAT:@EMBL_FORMAT
>> so using the EMBL_FORMAT (libformat) object for the
> creation of the EMNEW_FORMAT object... it doesn't work
> this way. Also, I've been trying things like
>> $ParObj:[name:EMNEW_FORMAT set:($ParObj:[name:EMBL_FORMAT])]
>> but that didn't work...
>
I have not tried that sort of things. I had a brief look at why
srscheck goes wrong with this, but could not find anything obvious
and just went for this brute force approach.
> so for the moment we've got 4 identical formats defined
> (EMBL_FORMAT, EMBL_EST_FORMAT, EMBLNEW_FORMAT, and EMBLNEW_EST_FORMAT)
> in embl.i ... but we can live with that.
>Don't forget - you need to do the same for the subentries
(EmblFeatures_Format etc). And (completely unimportant detail)
I did not put it all in embl.i, but gave each database its own
.i file in which the format is declared - that has the advantage that
there is a .i file to be retrieved from the database description page.
Cheers,
Martin
--
-------------------------------------------------------------------
| Martin Hilbers http://www.dci.clrc.ac.uk/Person.asp?m.p.hilbers |
| SEQNET | E-mail: m.p.hilbers at dl.ac.uk |
| Daresbury Laboratory | Tel: +44-1925-603492 |
| Daresbury, Warrington | Fax: +44-1925-603100 |
| Cheshire WA4 4AD | SEQNET is the UK national EMBNet node |
| United Kingdom | http://www.seqnet.dl.ac.uk/ |
-------------------------------------------------------------------