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

Diff of /FigKernelScripts/extract_data_for_syncing_after_update.pl

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

revision 1.3, Thu Apr 29 20:28:30 2004 UTC revision 1.4, Thu Jun 3 15:48:54 2004 UTC
# Line 7  Line 7 
7    
8  (  (
9   ($sync_from_date      = shift @ARGV) &&   ($sync_from_date      = shift @ARGV) &&
10   ($assignments_package = shift @ARGV) &&    ($dir                = shift @ARGV)
  ($annotations_package = shift @ARGV) &&  
  ($trans_rules_package = shift @ARGV) &&  
  ($subsys_package      = shift @ARGV)  
11  )  )
12      || die "usage: extract_data_for_syncing_after_update SyncFromData(MM/DD/YYYY) AssignmentsPackage AnnotationsPackage TranslationRulesPackage SubsystemsPackage\      || die "usage: usage: extract_data_for_syncing_after_update SyncFromDate(MM/DD/YYYY) Dir";
13  ";  (! -d $dir) || die "$dir already exists";
14    mkdir($dir,0777) || die "could not make $dir";
15    $assignments_package  = "$dir/$assignments_package";
16    $annotations_package  = "$dir/$annotations_package";
17    $trans_rules_package  = "$dir/$trans_rules_package";
18    $subsys_package       = "$dir/$subsys_package";
19    
20  &P2Pupdate::package_translation_rules($FIG_Config::fig,$trans_rules_package);  &P2Pupdate::package_translation_rules($FIG_Config::fig,$trans_rules_package);
21  &P2Pupdate::package_subsystems($fig,$subsys_package,0);  &P2Pupdate::package_subsystems($fig,$subsys_package,0);

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3