- Timestamp:
- Apr 5, 2010 4:29:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ProtocolAsPanel.ipf
r641 r661 1870 1870 #if (exists("QUOKKA")==6) 1871 1871 newFileName = ReplaceString(".nx.hdf", tempFilename, "") 1872 #elif (exists("HFIR")==6) 1873 newFileName = ReplaceString(".xml",textPath[0],"") //removes 4 chars 1874 newFileName = ReplaceString("SANS",newFileName,"") //removes 4 more chars = 8 1875 newFileName = ReplaceString("exp",newFileName,"") //removes 3 more chars = 11 1876 newFileName = ReplaceString("scan",newFileName,"") //removes 4 more chars = 15, should be enough? 1872 1877 #else 1873 newFileName = UpperStr(GetNameFromHeader(textPath[0])) 1878 newFileName = UpperStr(GetNameFromHeader(textPath[0])) //NCNR data drops here, trims to 8 chars 1874 1879 #endif 1875 1880 else … … 1890 1895 endif 1891 1896 1897 // add an "x" to the file extension if the output is XML 1898 // currently (2010), only for ABS and AVE (1D) output 1899 if( cmpstr(exten,"ABS") == 0 || cmpstr(exten,"AVE") == 0 ) 1900 if(useXMLOutput == 1) 1901 exten += "x" 1902 endif 1903 endif 1904 1892 1905 //Path is catPathName, symbolic path 1893 1906 //if this doesn't exist, a dialog will be presented by setting dialog = 1
Note: See TracChangeset
for help on using the changeset viewer.