Changeset 1883 for trunk/external-alma/atnf
- Timestamp:
- 08/20/10 18:03:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/atnf/PKSIO/PKSreader.cc
r1868 r1883 102 102 103 103 } else if (inFile.isDirectory()) { 104 if (File(name + "/DATA_DESCRIPTION").exists()) { 104 Bool isMS = ( (File(name+"/table.info").exists()) 105 && File(name+"/table.dat").exists() ); 106 if (isMS) { 107 RegularFileIO ifs(name+"/table.info") ; 108 char buf[128] ; 109 ifs.read(sizeof(buf),buf,False) ; 110 if ( strstr( buf, "Measurement Set" ) == NULL ) 111 isMS = False ; 112 } 113 //if (File(name + "/DATA_DESCRIPTION").exists()) { 114 if (isMS) { 105 115 // MS version 2. 106 116 #ifdef NOPKSMS
Note:
See TracChangeset
for help on using the changeset viewer.