Changeset 4ee041f in sasview for sasview


Ignore:
Timestamp:
Mar 15, 2016 9:02:33 AM (8 years ago)
Author:
ajj
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:
66f21cd
Parents:
06aaa75d (diff), 12e19bd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ESS_dev

Location:
sasview
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • sasview/default_categories.json

    rd26dea0 rdb46d13  
    1 {"Shapes": [["PearlNecklaceModel", true], ["HollowCylinderModel", true], ["CoreMultiShellModel", true], ["FCCrystalModel", true], ["CoreShellEllipsoidXTModel", true], ["FuzzySphereModel", true], ["CSParallelepipedModel", true], ["EllipticalCylinderModel", true], ["BCCrystalModel", true], ["LamellarFFHGModel", true], ["RectangularHollowPrismInfThinWallsModel", true], ["LamellarPCrystalModel", true], ["OnionExpShellModel", true], ["VesicleModel", true], ["MultiShellModel", true], ["RaspBerryModel", true], ["CoreShellEllipsoidModel", true], ["CappedCylinderModel", true], ["CylinderModel", true], ["SphericalSLDModel", true], ["StackedDisksModel", true], ["LamellarPSHGModel", true], ["CoreShellBicelleModel", true], ["RectangularHollowPrismModel", true], ["LamellarPSModel", true], ["EllipsoidModel", true], ["SphereModel", true], ["ParallelepipedModel", true], ["TriaxialEllipsoidModel", true], ["LamellarModel", true], ["PringlesModel", true], ["RectangularPrismModel", true], ["CoreShellCylinderModel", true], ["BinaryHSModel", true], ["FlexibleCylinderModel", true], ["SCCrystalModel", true], ["FlexCylEllipXModel", true], ["LinearPearlsModel", true], ["CoreShellModel", true]], "Structure Factor": [["SquareWellStructure", true], ["HayterMSAStructure", true], ["HardsphereStructure", true], ["StickyHSStructure", true]], "Shape-Independent": [["TwoPowerLawModel", true], ["GelFitModel", true], ["DABModel", true], ["PowerLawAbsModel", true], ["PorodModel", true], ["MassFractalModel", true], ["RPA10Model", true], ["TeubnerStreyModel", true], ["DebyeModel", true], ["MassSurfaceFractal", true], ["Core2ndMomentModel", true], ["TwoLorentzianModel", true], ["UnifiedPowerRgModel", true], ["PolymerExclVolume", true], ["BEPolyelectrolyte", true], ["GuinierModel", true], ["GuinierPorodModel", true], ["CorrLengthModel", true], ["StarPolymer", true], ["FractalModel", true], ["PeakLorentzModel", true], ["BroadPeakModel", true], ["PeakGaussModel", true], ["FractalCoreShellModel", true], ["Poly_GaussCoil", true], ["SurfaceFractalModel", true], ["GaussLorentzGelModel", true], ["LorentzModel", true]], "Uncategorized": [["ReflectivityModel", true], ["ReflectivityIIModel", true], ["LineModel", true], ["MicelleSphCoreModel", true]]} 
     1{"Shapes": [["BarBellModel", true], ["PearlNecklaceModel", true], ["HollowCylinderModel", true], ["CoreMultiShellModel", true], ["FCCrystalModel", true], ["ParallelepipedModel", true], ["FuzzySphereModel", true], ["CoreShellEllipsoidXTModel", true], ["LamellarPCrystalModel", true], ["BCCrystalModel", true], ["EllipticalCylinderModel", true], ["RectangularHollowPrismInfThinWallsModel", true], ["CSParallelepipedModel", true], ["OnionExpShellModel", true], ["MultiShellModel", true], ["RaspBerryModel", true], ["CoreShellEllipsoidModel", true], ["CappedCylinderModel", true], ["CylinderModel", true], ["SphericalSLDModel", true], ["SCCrystalModel", true], ["StackedDisksModel", true], ["LamellarPSHGModel", true], ["CoreShellBicelleModel", true], ["RectangularHollowPrismModel", true], ["LamellarPSModel", true], ["EllipsoidModel", true], ["SphereModel", true], ["VesicleModel", true], ["TriaxialEllipsoidModel", true], ["LamellarModel", true], ["PringlesModel", true], ["RectangularPrismModel", true], ["CoreShellCylinderModel", true], ["BinaryHSModel", true], ["FlexibleCylinderModel", true], ["LamellarFFHGModel", true], ["FlexCylEllipXModel", true], ["LinearPearlsModel", true], ["CoreShellModel", true]], "Structure Factor": [["SquareWellStructure", true], ["HayterMSAStructure", true], ["HardsphereStructure", true], ["StickyHSStructure", true]], "Shape-Independent": [["TwoPowerLawModel", true], ["GelFitModel", true], ["DABModel", true], ["PowerLawAbsModel", true], ["PorodModel", true], ["GuinierModel", true], ["RPA10Model", true], ["TeubnerStreyModel", true], ["StarPolymer", true], ["UnifiedPowerRgModel", true], ["MassSurfaceFractal", true], ["Core2ndMomentModel", true], ["TwoLorentzianModel", true], ["DebyeModel", true], ["MassFractalModel", true], ["GuinierPorodModel", true], ["CorrLengthModel", true], ["PolymerExclVolume", true], ["FractalModel", true], ["PeakLorentzModel", true], ["BroadPeakModel", true], ["FractalCoreShellModel", true], ["PeakGaussModel", true], ["BEPolyelectrolyte", true], ["Poly_GaussCoil", true], ["SurfaceFractalModel", true], ["GaussLorentzGelModel", true], ["LorentzModel", true]], "Uncategorized": [["ReflectivityModel", true], ["ReflectivityIIModel", true], ["LineModel", true], ["MicelleSphCoreModel", true]]} 
  • sasview/installer_generator.py

    r3a39c2e rb699768  
    4545         
    4646        #(ext, type, name, flags) 
    47         from sas.dataloader.loader import Loader 
     47        from sas.sascalc.dataloader.loader import Loader 
    4848        wild_cards = Loader().get_wildcards() 
    4949        for item in wild_cards: 
  • sasview/local_config.py

    r957af0d rd85c194  
    44import time 
    55import os 
    6 from sas.guiframe.gui_style import GUIFRAME 
     6from sas.sasgui.guiframe.gui_style import GUIFRAME 
    77import sas.sasview 
    88import logging 
  • sasview/sasview.py

    r85130cb rd85c194  
    8888    reload(sys) 
    8989    sys.setdefaultencoding("iso-8859-1") 
    90 from sas.guiframe import gui_manager 
    91 from sas.guiframe.gui_style import GUIFRAME 
     90from sas.sasgui.guiframe import gui_manager 
     91from sas.sasgui.guiframe.gui_style import GUIFRAME 
    9292from welcome_panel import WelcomePanel 
    9393# For py2exe, import config here 
     
    116116        # Fitting perspective 
    117117        try: 
    118             import sas.perspectives.fitting as module     
     118            import sas.sasgui.perspectives.fitting as module     
    119119            fitting_plug = module.Plugin() 
    120120            self.gui.add_perspective(fitting_plug) 
     
    125125        # P(r) perspective 
    126126        try: 
    127             import sas.perspectives.pr as module 
     127            import sas.sasgui.perspectives.pr as module 
    128128            pr_plug = module.Plugin() 
    129129            self.gui.add_perspective(pr_plug) 
     
    134134        #Invariant perspective 
    135135        try: 
    136             import sas.perspectives.invariant as module 
     136            import sas.sasgui.perspectives.invariant as module 
    137137            invariant_plug = module.Plugin() 
    138138            self.gui.add_perspective(invariant_plug) 
    139         except: 
     139        except Exception as e : 
    140140            logging.error("%s: could not find Invariant plug-in module"% \ 
    141141                          APP_NAME) 
     
    144144        #Calculator perspective    
    145145        try: 
    146             import sas.perspectives.calculator as module 
     146            import sas.sasgui.perspectives.calculator as module 
    147147            calculator_plug = module.Plugin() 
    148148            self.gui.add_perspective(calculator_plug) 
  • sasview/setup_exe.py

    r24d3a40 rd85c194  
    244244data_files += periodictable.data_files() 
    245245 
    246 import sas.perspectives.fitting as fitting 
     246import sas.sasgui.perspectives.fitting as fitting 
    247247data_files += fitting.data_files() 
    248248 
    249 import sas.perspectives.calculator as calculator 
     249import sas.sasgui.perspectives.calculator as calculator 
    250250data_files += calculator.data_files() 
    251251 
    252 import sas.perspectives.invariant as invariant 
     252import sas.sasgui.perspectives.invariant as invariant 
    253253data_files += invariant.data_files() 
    254254 
    255 import sas.guiframe as guiframe 
     255import sas.sasgui.guiframe as guiframe 
    256256data_files += guiframe.data_files() 
    257257 
     
    264264 
    265265# Copy the settings file for the sas.dataloader file extension associations 
    266 import sas.dataloader.readers 
     266import sas.sascalc.dataloader.readers 
    267267f = os.path.join(sas.dataloader.readers.get_data_path(), 'defaults.json') 
    268268if os.path.isfile(f): 
     
    388388gen.generate_installer() 
    389389#initialize category stuff 
    390 #from sas.guiframe.CategoryInstaller import CategoryInstaller 
     390#from sas.sasgui.guiframe.CategoryInstaller import CategoryInstaller 
    391391#CategoryInstaller.check_install(s) 
    392392 
  • sasview/setup_mac.py

    re8e3e38 rd85c194  
    1313from setuptools import setup 
    1414import periodictable.xsf 
    15 import sas.dataloader.readers  
     15import sas.sascalc.dataloader.readers  
    1616import os 
    1717import string 
     
    3535DATA_FILES = periodictable.data_files() 
    3636#invariant and calculator help doc 
    37 import sas.perspectives.fitting as fitting 
     37import sas.sasgui.perspectives.fitting as fitting 
    3838DATA_FILES += fitting.data_files() 
    39 import sas.perspectives.calculator as calculator 
     39import sas.sasgui.perspectives.calculator as calculator 
    4040DATA_FILES += calculator.data_files() 
    41 import sas.perspectives.invariant as invariant 
     41import sas.sasgui.perspectives.invariant as invariant 
    4242DATA_FILES += invariant.data_files() 
    4343import sas.models as models 
    4444DATA_FILES += models.data_files() 
    45 import sas.guiframe as guiframe 
     45import sas.sasgui.guiframe as guiframe 
    4646DATA_FILES += guiframe.data_files() 
    4747 
     
    8383        list = [] 
    8484        EXCEPTION_LIST = ['*', '.', ''] 
    85         from sas.dataloader.loader import Loader 
     85        from sas.sascalc.dataloader.loader import Loader 
    8686        wild_cards = Loader().get_wildcards() 
    8787        for item in wild_cards: 
  • sasview/welcome_panel.py

    r7425bcf rd85c194  
    99import local_config as config 
    1010from wx.lib.scrolledpanel import ScrolledPanel 
    11 from sas.guiframe.panel_base import PanelBase 
     11from sas.sasgui.guiframe.panel_base import PanelBase 
    1212#Font size width 
    1313if sys.platform.count("win32") > 0: 
Note: See TracChangeset for help on using the changeset viewer.