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/GlobalFit2_NCNR_v40.ipf

    r475 r476  
    14891489                DoWindow/K NewGF_GlobalFitMaskingPanel 
    14901490        endif 
    1491 //      Execute/P "DELETEINCLUDE  <Global Fit 2>" 
    1492         SVAR fileVerExt=root:Packages:NIST:SANS_ANA_EXTENSION 
    1493         String fname="GlobalFit2_NCNR" 
    1494         Execute/P "DELETEINCLUDE \""+fname+fileVerExt+"\"" 
    1495         Execute/P "COMPILEPROCEDURES " 
    1496         KillDataFolder/Z root:Packages:NewGlobalFit 
     1491         
     1492        //SRK - if SimpleGlobalFit is open, go ahead and kill the windows, just 
     1493        // don't un-include the procedure files ! 
     1494        if(Exists("root:Packages:NewGlobalFit:listW") == 0)             //simple fit waves don't exist 
     1495         
     1496        //      Execute/P "DELETEINCLUDE  <Global Fit 2>" 
     1497                SVAR fileVerExt=root:Packages:NIST:SANS_ANA_EXTENSION 
     1498                String fname="GlobalFit2_NCNR" 
     1499                Execute/P "DELETEINCLUDE \""+fname+fileVerExt+"\"" 
     1500                Execute/P "COMPILEPROCEDURES " 
     1501                KillDataFolder/Z root:Packages:NewGlobalFit 
     1502         
     1503        endif 
    14971504end 
    14981505 
Note: See TracChangeset for help on using the changeset viewer.