- Timestamp:
- Feb 6, 2012 12:19:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_Igor_Procedures/NCNR_Package_Loader.ipf
r828 r835 1 1 #pragma rtGlobals=1 // Use modern global access method. 2 #pragma IgorVersion=6. 12 #pragma IgorVersion=6.2 3 3 4 4 // load/unload courtesy of Jan Ilavsky … … 31 31 // for testing ONLY 32 32 "-" 33 "Load Polarization Reduction ",Execute/P "INSERTINCLUDE \"Include_Polarization\"";Execute/P "COMPILEPROCEDURES "34 35 "Load Batch Fitting",Execute/P "INSERTINCLUDE \"Auto_Fit\"";Execute/P "COMPILEPROCEDURES ";Execute/P "InitializeAutoFitPanel()"36 37 "Load Real Space Modeling ",Execute/P "INSERTINCLUDE \"FFT_Cubes_Includes\"";Execute/P "INSERTINCLUDE \"FFT_Fit_Includes\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Init_FFT()"33 "Load Polarization Reduction - Beta",PolarizationLoader() 34 35 // "Load Batch Fitting",Execute/P "INSERTINCLUDE \"Auto_Fit\"";Execute/P "COMPILEPROCEDURES ";Execute/P "InitializeAutoFitPanel()" 36 37 "Load Real Space Modeling - Beta",Execute/P "INSERTINCLUDE \"FFT_Cubes_Includes\"";Execute/P "INSERTINCLUDE \"FFT_Fit_Includes\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Init_FFT()" 38 38 "-" 39 39 … … 43 43 String itemStr 44 44 45 if (str2num(stringByKey("IGORVERS",IgorInfo(0))) < 6. 1)46 Abort "Your version of Igor is lower than 6. 1, these macros need version 6.1or higher.... "45 if (str2num(stringByKey("IGORVERS",IgorInfo(0))) < 6.2) 46 Abort "Your version of Igor is lower than 6.2, these macros need version 6.2 or higher.... " 47 47 endif 48 48 … … 127 127 String itemStr 128 128 129 if (str2num(stringByKey("IGORVERS",IgorInfo(0))) < 6. 1)130 Abort "Your version of Igor is lower than 6. 1, these macros need version 6.1or higher.... "129 if (str2num(stringByKey("IGORVERS",IgorInfo(0))) < 6.2) 130 Abort "Your version of Igor is lower than 6.2, these macros need version 6.2 or higher.... " 131 131 endif 132 132 … … 198 198 String itemStr 199 199 200 if (str2num(stringByKey("IGORVERS",IgorInfo(0))) < 6. 1)201 Abort "Your version of Igor is lower than 6. 1, these macros need version 6.1or higher.... "200 if (str2num(stringByKey("IGORVERS",IgorInfo(0))) < 6.2) 201 Abort "Your version of Igor is lower than 6.2, these macros need version 6.2 or higher.... " 202 202 endif 203 203 … … 283 283 String itemStr 284 284 285 if (str2num(stringByKey("IGORVERS",IgorInfo(0))) < 6. 1)286 Abort "Your version of Igor is lower than 6. 1, these macros need version 6.1or higher.... "285 if (str2num(stringByKey("IGORVERS",IgorInfo(0))) < 6.2) 286 Abort "Your version of Igor is lower than 6.2, these macros need version 6.2 or higher.... " 287 287 endif 288 288 … … 405 405 SetIgorOption poundUnDefine=ILL_D22 406 406 End 407 408 Function PolarizationLoader() 409 410 // be sure that the SANS reduction is loaded and compiles 411 NCNR_SANSReductionLoader("Load NCNR SANS Reduction Macros") 412 413 // then the polarization 414 Execute/P "INSERTINCLUDE \"Include_Polarization\"";Execute/P "COMPILEPROCEDURES " 415 BuildMenu "Macros" 416 417 return(0) 418 End
Note: See TracChangeset
for help on using the changeset viewer.