Ignore:
Timestamp:
Oct 24, 2008 3:48:54 PM (14 years ago)
Author:
srkline
Message:

Bug fixes to USANS procedures to clean up changes with new Packages:NIST: subfolder structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtilsMacro_v40.ipf

    r431 r432  
    6565        Variable doPlot 
    6666         
    67         Variable rr,gg,bb,refnum 
     67        Variable rr,gg,bb,refnum,dQv 
    6868        String w0,w1,w2,n0,n1,n2 
    6969        String w3,w4,w5,n3,n4,n5                        //3 extra waves to load 
    7070        SetDataFolder root:             //build sub-folders for each data set under root 
    71          
    72         if (exists("root:Packages:NIST:USANS:Globals:MainPanel:dQv")) 
    73                 //Running from USANS reduction 
    74                 Variable dQv = root:Packages:NIST:USANS:Globals:MainPanel:dQv 
    75         endif 
    76         if(exists("root:Packages:NIST:USANS_dQv")) 
    77                 //Running from SANS Analysis 
    78                 Variable dQv = root:Packages:NIST:USANS_dQv 
    79         else 
    80                 //running from somewhere else, probably SANS Reduction, which uses common loaders 
    81                 Variable/G root:Packages:NIST:USANS_dQv = 0.117 
    82         endif 
     71 
     72// I can't see that we need to find dQv here.    
     73//      if (exists("root:Packages:NIST:USANS:Globals:MainPanel:gDQv")) 
     74//              //Running from USANS reduction 
     75//              Variable dQv = root:Packages:NIST:USANS:Globals:MainPanel:gDQv 
     76//      endif 
     77//      if(exists("root:Packages:NIST:USANS_dQv")) 
     78//              //Running from SANS Analysis 
     79//              Variable dQv = root:Packages:NIST:USANS_dQv 
     80//      else 
     81//              //running from somewhere else, probably SANS Reduction, which uses common loaders 
     82//              Variable/G root:Packages:NIST:USANS_dQv = 0.117 
     83//      endif 
    8384                 
    8485        if (cmpStr(fileStr,"") == 0) 
Note: See TracChangeset for help on using the changeset viewer.