🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bionet.software.acedb
Article #95

Re: ?Gene is reserved?

#95
From: Nicolas Thierry-Mieg
Date: Thu, 01 Apr 2004 08:07
66 lines
3888 bytes

Ed Griffiths wrote:
> Nicolas,
> 
>> just curious about this: it appears that you cannot define your own 
>> class named ?Gene with acedb 4.9t
>> this worked with an old 4.9g though
>>
>> example:
>> models.wrm contains only:
>> ?Gene proteins Text
>>
>> and bad.ace contains:
>> Gene : "YWHAG"
>> proteins "P35214"
>>
>> parsing the ace file with 4.9t gives error: "missing model of class Gene"
>> 4.9g eats it up fine, and replacing Gene with Gene1 in models and ace 
>> file works also with 4.9t
> 
> 
> With the current development code this works and it should do, as far as 
> I know there is no list of reserved class names and if there is "Gene" 
> should not be on it.
> 
> Something to watch out for (because I tripped over it ;-) is that I have 
> a subclass "Gene" defined in my test database which I didn't know about. 
> You should make sure you don't have one.
> 
> Its likely that behaviour of the code has changed because Simn tinkered 
> around in the subclass code when he was adding Composite classes:
> 
> http://www.acedb.org/winfo/Newsletters/Year2003/October.html#superclass
> 
> cheers Ed

hi Ed, thanks for your quick answer

but, err, no that's not the source of the problem, my subclasses.wrm is
empty.
In fact, if I 'grep Gene *' in wspec, all I get is a few hits in
help.wrm, the models.wrm line, and one line in options.wrm (_VGene  -V
-D TREE -T Title)...
In fact this is a tiny and simple database, it's actually an assignment
I gave my students, so potential sources of errors are few.


But anyways, I just downloaded today's 4.9z build and it works fine
where 4.9t fails. So apparently this is a bug in the "stable" 4.9t that
has been corrected since then....


a bientot
nicolas





-- 
------------------------------------------------------------
Nicolas Thierry-Mieg
Laboratoire LSR-IMAG, BP 53, 38041 Grenoble Cedex 9, France
tel : (33/0)4-76-63-55-79, fax : (33/0)4-76-63-55-50
------------------------------------------------------------
Technical Details
Message-ID: <406AE8B0.30206@imag.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!proxad.net!fr.ip.ndsoftware.net!dedekind.zen.co.uk!demorgan.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!193.60.199.26.MISMATCH!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!rfcgr.mrc.ac.uk!hgmp.mrc.ac.uk!net.bio.net
References: <406949C1.1020505@imag.fr> <c4e271$iov$1@helium.hgmp.mrc.ac.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6d40,5fb995d3bd863c47
X-Google-Attributes: gidf6d40,public
X-Google-ArrivalTime: 2004-04-01 00:07:09 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!proxad.net!fr.ip.ndsoftware.net!dedekind.zen.co.uk!demorgan.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!193.60.199.26.MISMATCH!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!rfcgr.mrc.ac.uk!hgmp.mrc.ac.uk!net.bio.net
From: Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg@imag.fr>
Newsgroups: bionet.software.acedb
Subject: Re: ?Gene is reserved?
Date: 1 Apr 2004 09:07:06 +0100
Organization: BIOSCI/MRC Rosalind Franklin Centre for Genomics Research
Lines: 67
Sender: mod-ace@rfcgr.mrc.ac.uk
Approved: BIOSCI Approval Key <biosci-approval-key@net.bio.net>
Message-ID: <406AE8B0.30206@imag.fr>
References: <406949C1.1020505@imag.fr> <c4e271$iov$1@helium.hgmp.mrc.ac.uk>
NNTP-Posting-Host: mercury.hgmp.mrc.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: helium.hgmp.mrc.ac.uk 1080806827 16010 193.62.192.80 (1 Apr 2004 08:07:07 GMT)
X-Complaints-To: news@net.bio.net
NNTP-Posting-Date: Thu, 1 Apr 2004 08:07:07 +0000 (UTC)
X-Original-To: bionet-software-acedb@net.bio.net
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116
X-Accept-Language: en-us, en
X-IMAG-MailScanner: Found to be clean
X-IMAG-MailScanner-Information: Please contact the ISP for more information
X-Auth: PGPMoose V1.1 PGP bionet.software.acedb
 iQCVAwUAQGvNqqCIqsWvyF5FAQEVBwQAuHOpUlL5sG1U6EncauMYCqQMYlknOkyt
 EpjTnfXcCqdiDtciaDFpQkHV75J7rF3oKNmtHAbXVsHR+u11aIGhGxcMEd2zQRxb
 9kvj2AAh3nv+wMFvJtopiuQIs/f0fwSTmpw6/76xBafb+ZtrXIujklP1YjCWYs+/
 7WTH9p+Wibo=
 =POCA