[BioRuby-cvs] bioruby/lib/bio/io/biosql bioentry.rb, 1.1.2.1, 1.1.2.2

Raoul Jean Pierre Bonnal helios at dev.open-bio.org
Mon Apr 7 13:17:55 UTC 2008


Update of /home/repository/bioruby/bioruby/lib/bio/io/biosql
In directory dev.open-bio.org:/tmp/cvs-serv5531/lib/bio/io/biosql

Modified Files:
      Tag: BRANCH-biohackathon2008
	bioentry.rb 
Log Message:
corrected table name "term" in conditions to get cdsfeatures "Shortcut". associated with the entry. 

Index: bioentry.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/biosql/Attic/bioentry.rb,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** bioentry.rb	25 Mar 2008 15:46:32 -0000	1.1.2.1
--- bioentry.rb	7 Apr 2008 13:17:46 -0000	1.1.2.2
***************
*** 13,17 ****
  				has_many :subject_bioentry_relationships, :class_name=>"BioentryRelationship", :foreign_key=>"subject_bioentry_id" #non mi convince molto credo non funzioni nel modo corretto
  
! 				has_many :cdsfeatures, :class_name=>"Seqfeature", :foreign_key =>"bioentry_id", :conditions=>["terms.name='CDS'"], :include=>"typeterm"
          
          has_many :terms, :through=>:bioentry_qualifier_values
--- 13,17 ----
  				has_many :subject_bioentry_relationships, :class_name=>"BioentryRelationship", :foreign_key=>"subject_bioentry_id" #non mi convince molto credo non funzioni nel modo corretto
  
! 				has_many :cdsfeatures, :class_name=>"Seqfeature", :foreign_key =>"bioentry_id", :conditions=>["term.name='CDS'"], :include=>"type_term"
          
          has_many :terms, :through=>:bioentry_qualifier_values




More information about the bioruby-cvs mailing list