- Timestamp:
- Sep 20, 2012 1:22:02 PM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- bda809e
- Parents:
- b71a53b
- Location:
- sansview
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/default_categories.p
rcb9f50d6 rea5fa58 6 6 p2 7 7 tRp3 8 S'S pherical Shapes'8 S'Shapes' 9 9 p4 10 10 (lp5 … … 13 13 I01 14 14 tp7 15 a(S' MassFractalModel'15 a(S'CoreShellCylinderModel' 16 16 p8 17 17 I01 … … 21 21 I01 22 22 tp11 23 a(S'LamellarFFHGModel' 24 p12 25 I01 26 tp13 27 a(S'FCCrystalModel' 28 p14 29 I01 30 tp15 23 31 a(S'FuzzySphereModel' 24 p12 25 I01 26 tp13 32 p16 33 I01 34 tp17 35 a(S'FlexCylEllipXModel' 36 p18 37 I01 38 tp19 27 39 a(S'BCCrystalModel' 28 p14 29 I01 30 tp15 40 p20 41 I01 42 tp21 43 a(S'EllipticalCylinderModel' 44 p22 45 I01 46 tp23 47 a(S'CSParallelepipedModel' 48 p24 49 I01 50 tp25 51 a(S'OnionExpShellModel' 52 p26 53 I01 54 tp27 55 a(S'VesicleModel' 56 p28 57 I01 58 tp29 59 a(S'MultiShellModel' 60 p30 61 I01 62 tp31 63 a(S'LamellarPCrystalModel' 64 p32 65 I01 66 tp33 67 a(S'RaspBerryModel' 68 p34 69 I01 70 tp35 71 a(S'CoreShellEllipsoidModel' 72 p36 73 I01 74 tp37 75 a(S'CappedCylinderModel' 76 p38 77 I01 78 tp39 79 a(S'SphericalSLDModel' 80 p40 81 I01 82 tp41 83 a(S'StackedDisksModel' 84 p42 85 I01 86 tp43 87 a(S'LamellarPSHGModel' 88 p44 89 I01 90 tp45 91 a(S'CoreShellBicelleModel' 92 p46 93 I01 94 tp47 95 a(S'LamellarPSModel' 96 p48 97 I01 98 tp49 99 a(S'EllipsoidModel' 100 p50 101 I01 102 tp51 103 a(S'SphereModel' 104 p52 105 I01 106 tp53 107 a(S'ParallelepipedModel' 108 p54 109 I01 110 tp55 111 a(S'TriaxialEllipsoidModel' 112 p56 113 I01 114 tp57 115 a(S'LamellarModel' 116 p58 117 I01 118 tp59 119 a(S'CylinderModel' 120 p60 121 I01 122 tp61 123 a(S'BarBellModel' 124 p62 125 I01 126 tp63 127 a(S'BinaryHSModel' 128 p64 129 I01 130 tp65 131 a(S'FlexibleCylinderModel' 132 p66 133 I01 134 tp67 135 a(S'HollowCylinderModel' 136 p68 137 I01 138 tp69 31 139 a(S'SCCrystalModel' 32 p16 33 I01 34 tp17 140 p70 141 I01 142 tp71 143 a(S'LinearPearlsModel' 144 p72 145 I01 146 tp73 147 a(S'CoreShellModel' 148 p74 149 I01 150 tp75 151 asS'Structure Factor' 152 p76 153 (lp77 154 (S'SquareWellStructure' 155 p78 156 I01 157 tp79 158 a(S'HayterMSAStructure' 159 p80 160 I01 161 tp81 162 a(S'HardsphereStructure' 163 p82 164 I01 165 tp83 166 a(S'StickyHSStructure' 167 p84 168 I01 169 tp85 170 asS'Shape-Independent' 171 p86 172 (lp87 173 (S'TwoPowerLawModel' 174 p88 175 I01 176 tp89 177 a(S'GelFitModel' 178 p90 179 I01 180 tp91 181 a(S'PowerLawAbsModel' 182 p92 183 I01 184 tp93 185 a(S'PorodModel' 186 p94 187 I01 188 tp95 189 a(S'MassFractalModel' 190 p96 191 I01 192 tp97 193 a(S'TeubnerStreyModel' 194 p98 195 I01 196 tp99 197 a(S'BEPolyelectrolyte' 198 p100 199 I01 200 tp101 201 a(S'DebyeModel' 202 p102 203 I01 204 tp103 35 205 a(S'MassSurfaceFractal' 36 p18 37 I01 38 tp19 206 p104 207 I01 208 tp105 209 a(S'Poly_GaussCoil' 210 p106 211 I01 212 tp107 39 213 a(S'Core2ndMomentModel' 40 p20 41 I01 42 tp21 43 a(S'OnionExpShellModel' 44 p22 45 I01 46 tp23 47 a(S'MultiShellModel' 48 p24 49 I01 50 tp25 51 a(S'SphereModel' 52 p26 53 I01 54 tp27 214 p108 215 I01 216 tp109 217 a(S'RPA10Model' 218 p110 219 I01 220 tp111 221 a(S'TwoLorentzianModel' 222 p112 223 I01 224 tp113 225 a(S'UnifiedPowerRgModel' 226 p114 227 I01 228 tp115 229 a(S'PolymerExclVolume' 230 p116 231 I01 232 tp117 55 233 a(S'GuinierModel' 56 p28 57 I01 58 tp29 59 a(S'SphericalSLDModel' 60 p30 61 I01 62 tp31 234 p118 235 I01 236 tp119 63 237 a(S'GuinierPorodModel' 64 p32 65 I01 66 tp33 238 p120 239 I01 240 tp121 241 a(S'CorrLengthModel' 242 p122 243 I01 244 tp123 245 a(S'StarPolymer' 246 p124 247 I01 248 tp125 67 249 a(S'FractalModel' 68 p34 69 I01 70 tp35 71 a(S'VesicleModel' 72 p36 73 I01 74 tp37 250 p126 251 I01 252 tp127 253 a(S'PeakLorentzModel' 254 p128 255 I01 256 tp129 257 a(S'BroadPeakModel' 258 p130 259 I01 260 tp131 261 a(S'PeakGaussModel' 262 p132 263 I01 264 tp133 75 265 a(S'FractalCoreShellModel' 76 p38 77 I01 78 tp39 79 a(S'FCCrystalModel' 80 p40 81 I01 82 tp41 83 a(S'BinaryHSModel' 84 p42 85 I01 86 tp43 266 p134 267 I01 268 tp135 269 a(S'DABModel' 270 p136 271 I01 272 tp137 87 273 a(S'SurfaceFractalModel' 88 p44 89 I01 90 tp45 91 a(S'LinearPearlsModel' 92 p46 93 I01 94 tp47 95 a(S'RaspBerryModel' 96 p48 97 I01 98 tp49 99 a(S'CoreShellModel' 100 p50 101 I01 102 tp51 103 asS'Gels' 104 p52 105 (lp53 106 (g6 107 I01 108 tp54 109 a(S'TwoPowerLawModel' 110 p55 111 I01 112 tp56 113 a(g8 114 I01 115 tp57 116 a(g18 117 I01 118 tp58 119 a(S'TwoLorentzianModel' 120 p59 121 I01 122 tp60 123 a(S'UnifiedPowerRgModel' 124 p61 125 I01 126 tp62 127 a(g32 128 I01 129 tp63 130 a(S'CorrLengthModel' 131 p64 132 I01 133 tp65 134 a(S'BroadPeakModel' 135 p66 136 I01 137 tp67 138 a(S'DABModel' 139 p68 140 I01 141 tp69 142 a(g44 143 I01 144 tp70 145 a(g46 146 I01 147 tp71 274 p138 275 I01 276 tp139 148 277 a(S'GaussLorentzGelModel' 149 p72 150 I01 151 tp73 152 asS'Peaks' 153 p74 154 (lp75 155 (g6 156 I01 157 tp76 158 a(S'LamellarPCrystalModel' 159 p77 160 I01 161 tp78 162 a(g14 163 I01 164 tp79 165 a(g16 166 I01 167 tp80 168 a(g59 169 I01 170 tp81 171 a(g22 172 I01 173 tp82 174 a(g24 175 I01 176 tp83 177 a(S'StackedDisksModel' 178 p84 179 I01 180 tp85 181 a(S'LamellarPSHGModel' 182 p86 183 I01 184 tp87 185 a(S'PeakLorentzModel' 186 p88 187 I01 188 tp89 189 a(g66 190 I01 191 tp90 192 a(S'PeakGaussModel' 193 p91 194 I01 195 tp92 196 a(g40 197 I01 198 tp93 278 p140 279 I01 280 tp141 199 281 a(S'LorentzModel' 200 p94 201 I01 202 tp95 203 asS'Two-Phase' 204 p96 205 (lp97 206 (S'PorodModel' 207 p98 208 I01 209 tp99 210 a(g8 211 I01 212 tp100 213 a(g18 214 I01 215 tp101 216 a(g64 217 I01 218 tp102 219 a(g34 220 I01 221 tp103 222 a(g66 223 I01 224 tp104 225 a(g38 226 I01 227 tp105 228 a(g68 229 I01 230 tp106 231 a(g44 232 I01 233 tp107 234 a(g72 235 I01 236 tp108 237 asS'Polymers' 238 p109 239 (lp110 240 (g6 241 I01 242 tp111 243 a(S'BEPolyelectrolyte' 244 p112 245 I01 246 tp113 247 a(g77 248 I01 249 tp114 250 a(S'DebyeModel' 251 p115 252 I01 253 tp116 254 a(g14 255 I01 256 tp117 257 a(g16 258 I01 259 tp118 260 a(S'RPA10Model' 261 p119 262 I01 263 tp120 264 a(S'FlexCylEllipXModel' 265 p121 266 I01 267 tp122 268 a(S'PolymerExclVolume' 269 p123 270 I01 271 tp124 272 a(g86 273 I01 274 tp125 275 a(S'LamellarPSModel' 276 p126 277 I01 278 tp127 279 a(S'LamellarModel' 280 p128 281 I01 282 tp129 283 a(S'Poly_GaussCoil' 284 p130 285 I01 286 tp131 287 a(S'FlexibleCylinderModel' 288 p132 289 I01 290 tp133 291 a(S'LamellarFFHGModel' 292 p134 293 I01 294 tp135 295 a(g46 296 I01 297 tp136 298 a(g72 299 I01 300 tp137 301 asS'Empirical' 302 p138 303 (lp139 304 (g55 305 I01 306 tp140 307 a(g98 308 I01 309 tp141 310 a(g61 311 I01 312 tp142 313 a(g28 282 p142 314 283 I01 315 284 tp143 316 a(g32 317 I01 318 tp144 319 a(g64 320 I01 321 tp145 322 a(g66 323 I01 324 tp146 325 a(S'LineModel' 326 p147 327 I01 328 tp148 329 asS'Particles' 330 p149 331 (lp150 332 (g6 285 asS'Uncategorized' 286 p144 287 (lp145 288 (S'LineModel' 289 p146 290 I01 291 tp147 292 a(S'ReflectivityModel' 293 p148 294 I01 295 tp149 296 a(S'ReflectivityIIModel' 297 p150 333 298 I01 334 299 tp151 335 a(S'HollowCylinderModel'336 p152337 I01338 tp153339 a(g8340 I01341 tp154342 a(g10343 I01344 tp155345 a(S'CSParallelepipedModel'346 p156347 I01348 tp157349 a(S'ParallelepipedModel'350 p158351 I01352 tp159353 a(g12354 I01355 tp160356 a(g77357 I01358 tp161359 a(S'EllipticalCylinderModel'360 p162361 I01362 tp163363 a(g14364 I01365 tp164366 a(g16367 I01368 tp165369 a(g18370 I01371 tp166372 a(g20373 I01374 tp167375 a(g121376 I01377 tp168378 a(g22379 I01380 tp169381 a(g24382 I01383 tp170384 a(g26385 I01386 tp171387 a(S'CoreShellEllipsoidModel'388 p172389 I01390 tp173391 a(g28392 I01393 tp174394 a(S'CappedCylinderModel'395 p175396 I01397 tp176398 a(S'CylinderModel'399 p177400 I01401 tp178402 a(g30403 I01404 tp179405 a(g32406 I01407 tp180408 a(g84409 I01410 tp181411 a(g86412 I01413 tp182414 a(g34415 I01416 tp183417 a(S'CoreShellBicelleModel'418 p184419 I01420 tp185421 a(g126422 I01423 tp186424 a(S'EllipsoidModel'425 p187426 I01427 tp188428 a(g36429 I01430 tp189431 a(S'TriaxialEllipsoidModel'432 p190433 I01434 tp191435 a(g128436 I01437 tp192438 a(g38439 I01440 tp193441 a(S'BarBellModel'442 p194443 I01444 tp195445 a(g40446 I01447 tp196448 a(g42449 I01450 tp197451 a(g132452 I01453 tp198454 a(g134455 I01456 tp199457 a(g44458 I01459 tp200460 a(g46461 I01462 tp201463 a(g48464 I01465 tp202466 a(g50467 I01468 tp203469 asS'Non-Spherical Shapes'470 p204471 (lp205472 (g6473 I01474 tp206475 a(g152476 I01477 tp207478 a(g156479 I01480 tp208481 a(g158482 I01483 tp209484 a(g77485 I01486 tp210487 a(g162488 I01489 tp211490 a(g121491 I01492 tp212493 a(g172494 I01495 tp213496 a(g28497 I01498 tp214499 a(g175500 I01501 tp215502 a(g177503 I01504 tp216505 a(g32506 I01507 tp217508 a(g84509 I01510 tp218511 a(g86512 I01513 tp219514 a(g184515 I01516 tp220517 a(g126518 I01519 tp221520 a(g187521 I01522 tp222523 a(g190524 I01525 tp223526 a(g128527 I01528 tp224529 a(g194530 I01531 tp225532 a(g132533 I01534 tp226535 a(g134536 I01537 tp227538 a(g46539 I01540 tp228541 asS'Uncategorized'542 p229543 (lp230544 (S'GelFitModel'545 p231546 I01547 tp232548 a(S'CoreShellCylinderModel'549 p233550 I01551 tp234552 a(S'PowerLawAbsModel'553 p235554 I01555 tp236556 a(S'TeubnerStreyModel'557 p237558 I01559 tp238560 a(S'SquareWellStructure'561 p239562 I01563 tp240564 a(S'FractalO_Z'565 p241566 I01567 tp242568 a(S'HayterMSAStructure'569 p243570 I01571 tp244572 a(S'StarPolymer'573 p245574 I01575 tp246576 a(S'ReflectivityModel'577 p247578 I01579 tp248580 a(S'HardsphereStructure'581 p249582 I01583 tp250584 a(S'ReflectivityIIModel'585 p251586 I01587 tp252588 a(S'StickyHSStructure'589 p253590 I01591 tp254592 300 as. -
sansview/sansview.py
rdf7a7e3 rea5fa58 14 14 logging.basicConfig(level=logging.INFO, 15 15 format='%(asctime)s %(levelname)s %(message)s', 16 filename=os.path.join(os.path.expanduser("~"),'sasview.log')) 16 filename=os.path.join(os.path.expanduser("~"), 17 'sasview.log')) 17 18 18 19 import wx … … 103 104 logging.error(sys.exc_value) 104 105 105 # initialize category stuff106 user_file = os.path.join(os.path.expanduser("~"),107 'serialized_categories.p')108 106 109 if not os.path.isfile(user_file):110 # either first time starting sansview or the111 # user has deleted their category file112 my_dir = os.path.dirname(os.path.abspath(__file__))113 default_file = os.path.join(my_dir, '..',114 'sansmodels',115 'default_categories.p' )116 copy(default_file, user_file)117 118 107 119 108 # Add welcome page -
sansview/setup_exe.py
rdf7a7e3 rea5fa58 32 32 sys.argv.remove('--extrapath') 33 33 except: 34 print "Error processing extra python path needed to build SasView\n %s" % sys.exc_value 34 print "Error processing extra python path needed to build SasView\n %s" % \ 35 sys.exc_value 35 36 36 37 from distutils.core import setup … … 259 260 if os.path.isfile(f): 260 261 data_files.append(('.', [f])) 262 263 f = 'default_categories.p' 264 if os.path.isfile(f): 265 data_files.append(('.', [f])) 261 266 262 267 if os.path.isfile("BUILD_NUMBER"): -
sansview/setup_mac.py
rdf7a7e3 rea5fa58 54 54 55 55 APP = ['sansview.py'] 56 DATA_FILES += ['images','test','media', 'custom_config.py', 'local_config.py'] 56 DATA_FILES += ['images','test','media', 'custom_config.py', 'local_config.py', 57 'default_categories.p'] 57 58 if os.path.isfile("BUILD_NUMBER"): 58 59 DATA_FILES.append("BUILD_NUMBER") … … 92 93 93 94 EXTENSIONS_LIST = find_extension() 94 95 #initialize category stuff96 from sans.guiframe.CategoryInstaller import CategoryInstaller97 CategoryInstaller.check_install()98 99 95 100 96
Note: See TracChangeset
for help on using the changeset viewer.