Ignore:
Timestamp:
Apr 6, 2010 5:33:41 PM (13 years ago)
Author:
srkline
Message:

USANS dialogs now prompt with "x" added to the suffix when saving.

These files are also filtered out at the same time as normal .cor and .dsm file extensions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/WriteUSANSData.ipf

    r624 r667  
    245245        if(dialog) 
    246246                PathInfo/S catPathName 
    247                 fullPath = DoSaveFileDialog("Save data as") 
     247                fullPath = DoSaveFileDialog("Save data as",fname="",suffix="."+type+"x") 
    248248                If(cmpstr(fullPath,"")==0) 
    249249                        //user cancel, don't write out a file 
     
    254254        Endif 
    255255         
    256         SVAR samFiles = $("root:Packages:NIST:"+type+":fileList") 
    257256        //actually open the file here 
    258257        //Open refNum as fullpath 
     
    388387         
    389388        if(dialog) 
    390                 Open/D refnum as fullpath+".dsm"                //won't actually open the file 
     389                Open/D refnum as fullpath+".dsmx"               //won't actually open the file 
    391390                If(cmpstr(S_filename,"")==0) 
    392391                        //user cancel, don't write out a file 
Note: See TracChangeset for help on using the changeset viewer.