Ignore:
Timestamp:
Feb 17, 2009 4:37:09 PM (14 years ago)
Author:
srkline
Message:

Tried to stop the unloading clash of GlobalFit? and SimpleGlobalFit?. The Simple fit depends on GlobalFit?, so it can't be unloaded.

SumSANSModels now automatically finds the number of coefficients, since the coefficients are always in the root: folder. Saves the users a step.

Added more windows to the analysis list in the package loader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/GlobalFit/SimpleGlobalFit_NCNR_v40.ipf

    r475 r476  
    471471End 
    472472 
    473 static Function UnloadSimpleGlobalFit() 
    474         if (WinType("NewGlobalFitPanel") == 7) 
     473// clean up after itself, don't kill any data folder 
     474Function UnloadSimpleGlobalFit() 
     475        if (WinType("SimpGFPanel") == 7) 
    475476                DoWindow/K SimpGFPanel 
    476477        endif 
     
    483484        Execute/P "DELETEINCLUDE \""+fname+fileVerExt+"\"" 
    484485        Execute/P "COMPILEPROCEDURES " 
    485         KillDataFolder/Z root:Packages:NewGlobalFit 
     486        KillWaves/Z root:Packages:NewGlobalFit:listW 
     487        KillWaves/Z root:Packages:NewGlobalFit:selW 
     488        KillWaves/Z root:Packages:NewGlobalFit:titles 
     489         
     490//      KillDataFolder/Z root:Packages:NewGlobalFit 
     491         
     492         
    486493end 
Note: See TracChangeset for help on using the changeset viewer.