[Bio] / FigKernelScripts / ev_code_cron.pl Repository:
ViewVC logotype

Diff of /FigKernelScripts/ev_code_cron.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8, Tue Jun 10 16:27:22 2008 UTC revision 1.9, Wed Jun 11 16:28:11 2008 UTC
# Line 63  Line 63 
63  # now add all the attributes. This is really slow, and we should probably do a low level sql call to speed this up,  # now add all the attributes. This is really slow, and we should probably do a low level sql call to speed this up,
64  # but this handles breaking out the peg id into the separate parts and everything. It should be good.  # but this handles breaking out the peg id into the separate parts and everything. It should be good.
65  print STDERR "Reloading attributes from $dest/ev.codes\n" if (DEBUG);  print STDERR "Reloading attributes from $dest/ev.codes\n" if (DEBUG);
66  open(IN, "$dest/ev.codes") || die "CAn't open $dest/ev.codes";  system("AttrDBRefresh --load=$dest/ev.codes");
 while (<IN>)  
 {  
     chomp;  
     my @a=split /\t/;  
     #print STDERR join("\t", "ADD->", @a), "\n";  
     $fig->add_attribute(@a); # don't write to the transaction_log - we don't want to keep saving these changes  
 }  
67    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3