Changeset 304


Ignore:
Timestamp:
Mar 28, 2008 4:05:19 PM (14 years ago)
Author:
srkline
Message:

WIN OS-level default of .txt extension for saved files has been removed. Requested file name is now properly used.

Correct logic for turning off file checking if there is an alias in the UserProcedures? folder.

Location:
sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v4.00
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v4.00/Packages/ModelPicker/SANSModelPicker_v40.ipf

    r297 r304  
    6767                Variable/G checkForFiles=1              //set to true initially 
    6868                 
     69                // always turn off file checking for me 
     70                checkForFiles = !(stringmatch(ParseFilePath(0,SpecialDirPath("Desktop",0,0,0),":",1,1),"s*ine"))                //zero for me 
     71                 
    6972                // turn off file checking if the proper alias to the NCNR procedures is there 
    7073                PathInfo igor 
     
    7578                        Print "found the proper procedures" 
    7679                endif 
    77                 // always turn off file checking for me 
    78                 checkForFiles = !(stringmatch(ParseFilePath(0,SpecialDirPath("Desktop",0,0,0),":",1,1),"s*ine"))                //zero for me 
    7980                 
    8081                //fill the list of procedures 
  • sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v4.00/WriteModelData_v40.ipf

    r252 r304  
    8080        Endif 
    8181         
    82         Open/D refnum as NameofWave(ywave)+".txt"       //doesn't open file 
     82        Open/D/T="????" refnum as NameofWave(ywave)+".txt"      //doesn't open file 
    8383        If(cmpstr(S_filename,"")==0) 
    8484                //user cancel, don't write out a file 
Note: See TracChangeset for help on using the changeset viewer.