Changeset 745
- Timestamp:
- Sep 22, 2010 4:35:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ProtocolAsPanel.ipf
r733 r745 1917 1917 PathInfo/S catPathName 1918 1918 item = StringByKey("NAME",prot[5],"=",";") //Auto or Manual naming 1919 String autoname = StringByKey("AUTONAME",prot[5],"=",";") //autoname - will get empty string if not present 1919 1920 If((cmpstr(item,"Manual")==0) || (cmpstr(newFileName,"") == 0)) 1920 1921 //manual name if requested or if no name can be derived from header … … 1923 1924 else 1924 1925 //auto-generate name and prepend path - won't put up any dialogs since it has all it needs 1925 fullPath = S_Path + newFileName+ "." + exten 1926 //use autoname if present 1927 if (cmpstr(autoname,"") != 0) 1928 fullPath = S_Path + autoname + "." +exten 1929 else 1930 fullPath = S_Path + newFileName+"." + exten 1931 endif 1926 1932 Endif 1927 1933 //
Note: See TracChangeset
for help on using the changeset viewer.