From: Scott C. <sco...@us...> - 2004-06-25 14:23:40
|
Update of /cvsroot/gmod/schema/chado/load/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv964 Modified Files: load_gff3.PLS Log Message: for some reason, load_gff was creating a region term, even though a perfectly good one is present as part of SO. I changed the cache of the term to get it from SO or die. Index: load_gff3.PLS =================================================================== RCS file: /cvsroot/gmod/schema/chado/load/bin/load_gff3.PLS,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** load_gff3.PLS 1 Jun 2004 12:11:46 -0000 1.41 --- load_gff3.PLS 25 Jun 2004 14:23:30 -0000 1.42 *************** *** 731,738 **** # find needed cvterm and other pieces of information my @needed_cvterms = ! qw(description synonym region note develops_from part_of gff_file score protein); foreach my $n (@needed_cvterms) { cache_cvterm($n); } ($chado_organism) = Chado::Organism->search( common_name => lc($ORGANISM)) --- 731,739 ---- # find needed cvterm and other pieces of information my @needed_cvterms = ! qw(description synonym note develops_from part_of gff_file score protein); foreach my $n (@needed_cvterms) { cache_cvterm($n); } + cache_cvterm('region',$so->id); #make sure to get the SO region term ($chado_organism) = Chado::Organism->search( common_name => lc($ORGANISM)) |