Changeset 108


Ignore:
Timestamp:
May 2, 2007 3:44:02 PM (15 years ago)
Author:
srkline
Message:

Fixed logic sequence in setABSparams where a kappa of NaN would be calculated if the user did not properly select the plex (DIV) file. In addition, the "bad" DIV data would be in the DIV folder and never be overwritten - requiring manual cleaning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/SANSReduction/branches/kline_29MAR07/Put in User Procedures/SANS_Reduction_v5.00/ProtocolAsPanel.ipf

    r107 r108  
    20432043                if(! waveexists($"root:DIV:data")) 
    20442044                         junkStr = PromptForPath("Select the detector sensitivity file") 
    2045                         If(strlen(junkStr)==0) 
     2045                        If(strlen(junkStr)==0 || CheckIfRawData(junkStr))               //raw check==1 if RAW, DIV is not 
    20462046                                SetDataFolder root: 
    2047                                 Abort "No file selected, data reduction aborted" 
     2047                                Abort "No DIV (PLEX) file selected. Please use setABSParams again, selecting the empty beam file and then the detector sensitivity (Plex_) file" 
    20482048                        Endif 
    20492049                         ReadHeaderAndWork("DIV", junkStr) 
Note: See TracChangeset for help on using the changeset viewer.