Changeset 30


Ignore:
Timestamp:
Apr 18, 2008, 2:08:29 PM (17 years ago)
Author:
sunny
Message:

1.remove GetDataFile? function for linux version
2.add usage message for linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GSEXmlParser/GSEXmlParser.cpp

    r29 r30  
    5050  //Load XML File
    5151    //LOG("\n---- GSE 2109 XML ----");
     52   
    5253    String gse;
    53     gse = LoadFile(GetDataFile(filename));
     54    /*
     55    Cout() << filename << "\n";
     56    String fn;
     57    fn = GetDataFile(filename);
     58    Cout() << fn << "\n";
     59    */
     60    gse = LoadFile(filename);
     61    //Cout() << gse << "\n";
    5462    XmlNode rnode = ParseXML(gse);
    5563   
     
    109117  tab = "\t";
    110118  tsv = "# rowkey" + tab + "columnkey" + tab + "value\n";
     119 
    111120  for (int i = 0; i < data.GetCount(); i++) {
    112121    tsv << data[i].ToTSV();
     
    152161 
    153162  if (cmdline.GetCount()==0 || in.IsEmpty() || out.IsEmpty() || fmt.IsEmpty()) {
    154     Cout() << "Usage: GSEXmlParser.exe -f (xml|tsv) -i (input file) -o (output file)\n";
     163    Cout() << "# Usage #\n";
     164    Cout() << "For linux:   GSEXmlParser -f (xml|tsv) -i (input file) -o (output file)\n";
     165    Cout() << "For windows: GSEXmlParser.exe -f (xml|tsv) -i (input file) -o (output file)\n";
    155166    exit(0); 
    156167  }
Note: See TracChangeset for help on using the changeset viewer.