- Timestamp:
- Oct 4, 2010 10:15:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ProtocolAsPanel.ipf
r745 r750 1880 1880 newFileName = ReplaceString(".nx.hdf", tempFilename, "") 1881 1881 #elif (exists("HFIR")==6) 1882 newFileName = ReplaceString(".xml",textPath[0],"") //removes 4 chars 1883 newFileName = ReplaceString("SANS",newFileName,"") //removes 4 more chars = 8 1884 newFileName = ReplaceString("exp",newFileName,"") //removes 3 more chars = 11 1885 newFileName = ReplaceString("scan",newFileName,"") //removes 4 more chars = 15, should be enough? 1882 // newFileName = ReplaceString(".xml",textPath[0],"") //removes 4 chars 1883 // newFileName = ReplaceString("SANS",newFileName,"") //removes 4 more chars = 8 1884 // newFileName = ReplaceString("exp",newFileName,"") //removes 3 more chars = 11 1885 // newFileName = ReplaceString("scan",newFileName,"") //removes 4 more chars = 15, should be enough? 1886 newFileName = GetPrefixStrFromFile(textPath[0])+GetRunNumStrFromFile(textPath[0]) 1886 1887 #else 1887 1888 newFileName = UpperStr(GetNameFromHeader(textPath[0])) //NCNR data drops here, trims to 8 chars
Note: See TracChangeset
for help on using the changeset viewer.