🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bionet.software.acedb
Article #94

Re: ?Gene is reserved?

#94
From: Ed Griffiths
Date: Wed, 31 Mar 2004 09:15
39 lines
3086 bytes
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
-- 
  ------------------------------------------------------------------------
| Ed Griffiths, Acedb development, Informatics Group,                    |
|        Wellcome Trust Sanger Institute, Wellcome Trust Genome Campus,  |
|               Hinxton, Cambridge CB10 1SA, UK                          |
|                                                                        |
| email: edgrif@sanger.ac.uk  Tel: +44-1223-494780  Fax: +44-1223-494919 |
  ------------------------------------------------------------------------
Technical Details
Message-ID: <c4e271$iov$1@helium.hgmp.mrc.ac.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed3.jnfs.ja.net!jnfs.ja.net!rfcgr.mrc.ac.uk!hgmp.mrc.ac.uk!net.bio.net
References: <406949C1.1020505@imag.fr>

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-03-31 01:15:23 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed3.jnfs.ja.net!jnfs.ja.net!rfcgr.mrc.ac.uk!hgmp.mrc.ac.uk!net.bio.net
From: Ed Griffiths <edgrif@sanger.ac.uk>
Newsgroups: bionet.software.acedb
Subject: Re: ?Gene is reserved?
Date: 31 Mar 2004 10:15:22 +0100
Organization: Sanger Institute
Lines: 40
Sender: mod-ace@rfcgr.mrc.ac.uk
Approved: BIOSCI Approval Key <biosci-approval-key@net.bio.net>
Message-ID: <c4e271$iov$1@helium.hgmp.mrc.ac.uk>
References: <406949C1.1020505@imag.fr>
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 1080724522 19235 193.62.192.80 (31 Mar 2004 09:15:22 GMT)
X-Complaints-To: news@net.bio.net
NNTP-Posting-Date: Wed, 31 Mar 2004 09:15:22 +0000 (UTC)
X-Original-To: bionet-software-acedb@net.bio.net
User-Agent: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.4) Gecko/20030903
X-Accept-Language: en, en-us
X-Auth: PGPMoose V1.1 PGP bionet.software.acedb
 iQCVAwUAQGqMKaCIqsWvyF5FAQHF2gQAh9vbwnuyJdfcFaKdUva1I0FR4vGtPZRw
 sIBLhpLfBlVpgz1yDg125yljZ81XMgQE0TLCduPUBm1bTG1cC2gNbSYt9RytmTU2
 8FeneX2BVMgB9uFAefRa8tSRcVmrSDOVbUgQzZzN7waNfNkCfRetszvEk+xkXFxC
 FMNwK8eAoV0=
 =LSF5