Ignore:
Timestamp:
Feb 12, 2016 2:41:12 PM (7 years ago)
Author:
srkline
Message:

more minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_WorkFolderUtils.ipf

    r979 r980  
    294294 
    295295 
    296  
    297 // 
    298 //Entry procedure from main panel 
    299 // 
    300 Proc AddFolder(oldType,newType) 
    301         String oldType,newType 
    302         Prompt oldType,"Source WORK data type",popup,"SAM;EMP;BGD;DIV;COR;CAL;RAW;ABS;STO;SUB;DRK;" 
    303         Prompt newType,"Destination WORK data type",popup,"SAM;EMP;BGD;DIV;COR;CAL;RAW;ABS;STO;SUB;DRK;" 
    304  
    305         // data folder "RAW" will be copied to "new" (either kills/copies or will overwrite) 
    306         Variable        err = Raw_to_work(newType) 
    307 //      CopyHDFToWorkFolder(oldtype,newtype) 
    308 End 
    309  
    310  
    311  
    312296//testing procedure 
     297// TODO -- can't duplicate this with another proceudre, but if I change the name of the variable 
     298//   "newType" to "type", then when Raw_to_work() gets to CopyHDFToWorkFolder(), the KillDataFolder/Z 
     299//   line fails (but reports no error), then DuplicateDataFolder fails, and reports an error. Trying 
     300//   to simplify this condition, I can't duplicate the error for WM... 
    313301Proc Add_to_Workfile(newtype, doadd) 
    314302        String newtype,doadd 
Note: See TracChangeset for help on using the changeset viewer.