Changeset 229


Ignore:
Timestamp:
Dec 13, 2007 5:07:47 PM (15 years ago)
Author:
srkline
Message:

added more options for guessing transmission file matches. Now up to 21 characters.

Location:
sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.00
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.00/Initialize.ipf

    r210 r229  
    2929 
    3030        Variable/G root:SANS_RED_VERSION=5.00 
     31         
     32        if(itemsinlist(WinList("Includes.ipf", ";","INCLUDE:6"),";") != 0) 
     33                //must be opening a v4.2 or earlier template 
     34                DoAlert 0,"This experiment was created with an old version of the macros. I'll try to make this work, but please start new work with a current template" 
     35        endif 
    3136         
    3237        InitFolders() 
  • sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.00/Transmission.ipf

    r224 r229  
    17691769        menuStr += "Guess using 15 characters;" 
    17701770        menuStr += "Guess using 18 characters;" 
     1771        menuStr += "Guess using 21 characters;" 
     1772        menuStr += "Guess using 24 characters;" 
    17711773         
    17721774        strswitch(event) 
     
    17971799                                                fGuessTransToScattFiles(18) 
    17981800                                                break 
     1801                                        case "Guess using 21 characters": 
     1802                                                fGuessTransToScattFiles(21) 
     1803                                                break 
     1804                                        case "Guess using 24 characters": 
     1805                                                fGuessTransToScattFiles(24) 
     1806                                                break 
    17991807                                endswitch               //on selection 
    18001808                        endif 
Note: See TracChangeset for help on using the changeset viewer.