- Timestamp:
- Sep 14, 2010 10:22:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Common/DataSetHandling.ipf
r732 r734 1442 1442 //If we are here, the folder (now) exists and the user has agreed to overwrite 1443 1443 //either in the function call or from the alert. 1444 1445 // here, GetIndexedObjectName copies all of the waves 1446 index = 0 1444 1447 do 1445 1448 objName = GetIndexedObjName(basestr,1,index) … … 1451 1454 index+=1 1452 1455 while(1) 1456 1457 // -- for USANS data, we need the slit height. copy all of the "USANS_*" variables 1458 // may need to augment this for other situations 1459 index = 0 1460 do 1461 objName = GetIndexedObjName(basestr,2,index) 1462 if (strlen(objName) == 0) 1463 break 1464 endif 1465 if(stringmatch(objName,"USANS*") == 1) 1466 objname = ":"+basestr+":"+objname 1467 NVAR tmp = $objName 1468 Variable/G $(ReplaceString(basestr,objName,newName))= tmp 1469 endif 1470 index+=1 1471 while(1) 1472 1453 1473 1454 1474 SetDataFolder root:
Note: See TracChangeset
for help on using the changeset viewer.