IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 30, 2010, 2:39:50 PM (16 years ago)
Author:
rhenders
Message:

Adding Object batch type to system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/scripts/pspsSchema2xml.pl

    r28226 r28564  
    3131        -msg => "\n   Required options:\n\n".
    3232        "--schema <path to PSPS schema>\n".
    33         "--type <init|det|diff|stack>\n".
     33        "--type <init|det|diff|stack|object>\n".
    3434        -exitval => 3
    3535        ) unless
     
    3737defined $type;
    3838
    39 if ($type ne "init" && $type ne "det" && $type ne "diff" && $type ne "stack") {
     39if ($type ne "init" && $type ne "det" && $type ne "diff" && $type ne "stack" && $type ne "object" ) {
    4040
    4141    print "Don't understand type '$type'\n";
     
    6060elsif ($type eq "diff") {createDiffs();}
    6161elsif ($type eq "stack") {createStacks();}
     62elsif ($type eq "object") {createObjects();}
    6263
    6364# finish up XML
     
    170171#######################################################################################
    171172#
     173# Creates object batch tables
     174#
     175#######################################################################################
     176sub createObjects {
     177
     178    parseTable("Object");
     179}
     180
     181#######################################################################################
     182#
    172183# Parses a particular table from the SQL file and converts it to an XML description
    173184#
Note: See TracChangeset for help on using the changeset viewer.