Hi,
I decided to test SVN Trunk to see how it would work with a Project I
am working on and I got this error out of the box (Which had been
working 0.3.0):
<type 'exceptions.Exception'>: Couldn't find any relationship in
'Header' which match as inverse of the 'headers' relationship defined
in the 'Version' entity. If you are using inheritance you might need
to specify inverse relationships manually by using the inverse
keyword.
Any ideas why it would not run?
Thanks!
The classes in question are:
class Version(Entity):
has_field('version',String(20),required=True,unique=True,index=True)
has_field('description',String,required=True)
has_many('headers',of_kind='Header',lazy=True)
has_many('genes',of_kind='Gene',lazy=True)
has_many('operons',of_kind='Operon',lazy=True)
using_options(order_by=['version'])
class Header(Entity):
has_field('time',String,required=True)
has_field('seq_name',String,required=True,index=True)
has_field('seq_len',String,required=True)
has_field('num_genes',Integer)
has_field('num_homology',Integer)
has_field('num_tu',Integer)
has_field('num_operons',Integer)
has_field('op_avg_len',Integer)
has_many('genes',of_kind='Gene',lazy=True,order_by='start')
belongs_to('table_contig',of_kind='gselweb.model.database.contig.Contig',lazy=True,required=True)
belongs_to('table_version',of_kind='Version',lazy=True,required=True)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---