Ignore:
Timestamp:
Oct 7, 2008 1:09:04 PM (14 years ago)
Author:
ajj
Message:

Moving data folders into root:Packages:NIST

This could be hairy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/CircSectAve.ipf

    r412 r418  
    4040        //type is the data type to do the averaging on, and will be set as the current folder 
    4141        //get the current displayed data (so the correct folder is used) 
    42         String destPath = "root:"+type 
     42        String destPath = "root:Packages:NIST:"+type 
    4343         
    4444        // 
     
    9393        //Check for the existence of the mask, if not, make one (local to this folder) that is null 
    9494         
    95         if(WaveExists($"root:MSK:data") == 0) 
     95        if(WaveExists($"root:Packages:NIST:MSK:data") == 0) 
    9696                Print "There is no mask file loaded (WaveExists)- the data is not masked" 
    9797                Make/O/N=(pixelsX,pixelsY) $(destPath + ":mask") 
     
    9999                mask = 0 
    100100        else 
    101                 Wave mask=$"root:MSK:data" 
     101                Wave mask=$"root:Packages:NIST:MSK:data" 
    102102        Endif 
    103103         
     
    452452         
    453453        //Check for logscale data in "type" folder 
    454         SetDataFolder "root:"+type              //use the full path, so it will always work 
    455         String dest = "root:" + type 
     454        SetDataFolder "root:Packages:NIST:"+type                //use the full path, so it will always work 
     455        String dest = "root:Packages:NIST:" + type 
    456456         
    457457        NVAR isLogScale = $(dest + ":gIsLogScale") 
Note: See TracChangeset for help on using the changeset viewer.