IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38828


Ignore:
Timestamp:
Oct 9, 2015, 6:27:30 PM (11 years ago)
Author:
watersc1
Message:

Change to allow the csv output to contain the table descriptions in the format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/config/parse_vot.pl

    r37722 r38828  
    55#$wiki=1;
    66$csv = 1;
     7$csv_write_descriptions = 1;
    78$infield = 0;
    89$intable = 0;
     
    8586                $intable = 1;
    8687                if ($csv) {
    87                     print "$name\n";
     88                    if ($csv_write_descriptions) { 
     89                        print "$name,";
     90                    }
     91                    else {
     92                        print "$name\n";
     93                    }
    8894                } else {
    8995                    print "---------------------------\n";
     
    99105                        if ($csv) {
    100106                            $dostuff = 1;
     107                            if ($csv_write_descriptions) {
     108                                print "\"$t\"\n";
     109                            }
    101110                        } else {
    102111                            print "$t\n";
Note: See TracChangeset for help on using the changeset viewer.