From: <sco...@us...> - 2004-02-12 20:27:50
|
Update of /cvsroot/gmod/schema/chado/load/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29788/load/bin Modified Files: load_gff3.PLS Log Message: expanded search space for organisms Index: load_gff3.PLS =================================================================== RCS file: /cvsroot/gmod/schema/chado/load/bin/load_gff3.PLS,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** load_gff3.PLS 12 Feb 2004 17:48:47 -0000 1.18 --- load_gff3.PLS 12 Feb 2004 20:22:39 -0000 1.19 *************** *** 747,751 **** } ! ($chado_organism) = Chado::Organism->search( common_name => $ORGANISM ); ($chado_db) = Chado::Db->search( name => $SRC_DB ); ($nullpub) = Chado::Pub->search( miniref => 'null' ); --- 747,757 ---- } ! ($chado_organism) = Chado::Organism->search( common_name => lc($ORGANISM)) ! unless $chado_organism; ! ($chado_organism) = Chado::Organism->search( abbreviation => ucfirst($ORGANISM)) ! unless($chado_organism); ! ($chado_organism) = Chado::Organism->search( genus => $ORGANISM ) ! unless($chado_organism); ! ($chado_db) = Chado::Db->search( name => $SRC_DB ); ($nullpub) = Chado::Pub->search( miniref => 'null' ); |