- Timestamp:
- Feb 17, 2009 4:37:09 PM (14 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/GlobalFit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/GlobalFit/GlobalFit2_NCNR_v40.ipf
r475 r476 1489 1489 DoWindow/K NewGF_GlobalFitMaskingPanel 1490 1490 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 1497 1504 end 1498 1505 -
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/GlobalFit/SimpleGlobalFit_NCNR_v40.ipf
r475 r476 471 471 End 472 472 473 static Function UnloadSimpleGlobalFit() 474 if (WinType("NewGlobalFitPanel") == 7) 473 // clean up after itself, don't kill any data folder 474 Function UnloadSimpleGlobalFit() 475 if (WinType("SimpGFPanel") == 7) 475 476 DoWindow/K SimpGFPanel 476 477 endif … … 483 484 Execute/P "DELETEINCLUDE \""+fname+fileVerExt+"\"" 484 485 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 486 493 end
Note: See TracChangeset
for help on using the changeset viewer.