Changeset 30
- Timestamp:
- Apr 18, 2008, 2:08:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GSEXmlParser/GSEXmlParser.cpp
r29 r30 50 50 //Load XML File 51 51 //LOG("\n---- GSE 2109 XML ----"); 52 52 53 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"; 54 62 XmlNode rnode = ParseXML(gse); 55 63 … … 109 117 tab = "\t"; 110 118 tsv = "# rowkey" + tab + "columnkey" + tab + "value\n"; 119 111 120 for (int i = 0; i < data.GetCount(); i++) { 112 121 tsv << data[i].ToTSV(); … … 152 161 153 162 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"; 155 166 exit(0); 156 167 }
Note: See TracChangeset
for help on using the changeset viewer.