[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.2, Wed Aug 23 18:13:02 2006 UTC revision 1.3, Wed Aug 23 20:53:50 2006 UTC
# Line 48  Line 48 
48  ##### RELOAD ATTRIBUTES DATABASE  ##### RELOAD ATTRIBUTES DATABASE
49  # delete the old attributes and then add the new ones  # delete the old attributes and then add the new ones
50  print STDERR "Deleting the attributes\n" if (DEBUG);  print STDERR "Deleting the attributes\n" if (DEBUG);
51  $fig->erase_attribute_entirely("evidence_code", 1); # this removes the evidence code and all notion of it, including all the files. This will scrub out things that get deleted  $fig->erase_attribute_entirely("evidence_code"); # this removes the evidence code and all notion of it, including all the files. This will scrub out things that get deleted
52    
53  # 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,
54  # 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.

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3