Changes in / [f66d9d1:e5ea2d0] in sasview


Ignore:
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • docs/sphinx-docs/build_sphinx.py

    r2fb09c4 rba31ed1  
    3232SPHINX_SOURCE = os.path.join(CURRENT_SCRIPT_DIR, "source") 
    3333SPHINX_SOURCE_API = os.path.join(SPHINX_SOURCE, "dev", "api") 
    34 SPHINX_SOURCE_GUIFRAME = os.path.join(SPHINX_SOURCE, "user", "guiframe") 
     34SPHINX_SOURCE_GUIFRAME = os.path.join(SPHINX_SOURCE, "user", "sasgui", "guiframe") 
    3535SPHINX_SOURCE_MODELS = os.path.join(SPHINX_SOURCE, "user", "models") 
    36 SPHINX_SOURCE_PERSPECTIVES = os.path.join(SPHINX_SOURCE, "user", "perspectives") 
     36SPHINX_SOURCE_PERSPECTIVES = os.path.join(SPHINX_SOURCE, "user", "sasgui", "perspectives") 
    3737SPHINX_SOURCE_TEST = os.path.join(SPHINX_SOURCE, "test") 
    3838 
  • docs/sphinx-docs/source/user/user.rst

    r2e5ca08 re0bbb7c  
    66.. toctree:: 
    77   :maxdepth: 1 
     8 
     9   Model Documentation <models/model_functions> 
     10 
     11   Data Formats <sasgui/guiframe/data_formats_help> 
    812    
    9    Model Documentation <models/model_functions> 
     13   Loading Data <sasgui/guiframe/data_explorer_help> 
    1014    
    11    Data Formats <guiframe/data_formats_help> 
     15   Plotting Data/Models <sasgui/guiframe/graph_help> 
    1216    
    13    Loading Data <guiframe/data_explorer_help> 
     17   Fitting Perspective <sasgui/perspectives/fitting/fitting> 
    1418    
    15    Plotting Data/Models <guiframe/graph_help> 
     19   P(r) Inversion Perspective <sasgui/perspectives/pr/pr_help> 
    1620    
    17    Fitting Perspective <perspectives/fitting/fitting> 
     21   Invariant Calculation Perspective <sasgui/perspectives/invariant/invariant_help> 
    1822    
    19    P(r) Inversion Perspective <perspectives/pr/pr_help> 
     23   Data Operations Tool <sasgui/perspectives/calculator/data_operator_help> 
     24       
     25   Density/Volume Calculator Tool <sasgui/perspectives/calculator/density_calculator_help> 
    2026    
    21    Invariant Calculation Perspective <perspectives/invariant/invariant_help> 
     27   Generic SANS Calculator Tool <sasgui/perspectives/calculator/sas_calculator_help> 
    2228    
    23    Data Operations Tool <perspectives/calculator/data_operator_help> 
    24        
    25    Density/Volume Calculator Tool <perspectives/calculator/density_calculator_help> 
     29   Image Viewer Tool <sasgui/perspectives/calculator/image_viewer_help> 
    2630    
    27    Generic SANS Calculator Tool <perspectives/calculator/sas_calculator_help> 
     31   Kiessig Thickness Calculator Tool <sasgui/perspectives/calculator/kiessig_calculator_help> 
    2832    
    29    Image Viewer Tool <perspectives/calculator/image_viewer_help> 
    30        
    31    Kiessig Thickness Calculator Tool <perspectives/calculator/kiessig_calculator_help> 
     33   SLD Calculator Tool <sasgui/perspectives/calculator/sld_calculator_help> 
    3234    
    33    SLD Calculator Tool <perspectives/calculator/sld_calculator_help> 
     35   Slit Size Calculator Tool <sasgui/perspectives/calculator/slit_calculator_help> 
    3436    
    35    Slit Size Calculator Tool <perspectives/calculator/slit_calculator_help> 
     37   Q Resolution Estimator Tool <sasgui/perspectives/calculator/resolution_calculator_help> 
    3638    
    37    Q Resolution Estimator Tool <perspectives/calculator/resolution_calculator_help> 
    38     
    39    Python Shell Tool <perspectives/calculator/python_shell_help> 
    40     
     39   Python Shell Tool <sasgui/perspectives/calculator/python_shell_help> 
     40 
    4141   Test Data <../test/testdata_help.rst> 
  • sasview/setup_mac.py

    rd85c194 r55c7d4b  
    4747 
    4848#CANSAxml reader data files 
    49 RESOURCES_FILES.append(os.path.join(sas.dataloader.readers.get_data_path(),'defaults.json')) 
     49RESOURCES_FILES.append(os.path.join(sas.sascalc.dataloader.readers.get_data_path(),'defaults.json')) 
    5050 
    5151# Locate libxml2 library 
  • setup.py

    • Property mode changed from 100644 to 100755
    r4adf48e re0bbb7c  
    164164packages.append("sas") 
    165165 
    166 # sas.invariant 
    167 package_dir["sas.invariant"] = os.path.join("src", "sas", "sascalc", "invariant") 
    168 packages.extend(["sas.invariant"]) 
     166# sas module 
     167package_dir["sas.sasgui"] = os.path.join("src", "sas", "sasgui") 
     168packages.append("sas.sasgui") 
     169 
     170# sas module 
     171package_dir["sas.sascalc"] = os.path.join("src", "sas", "sascalc") 
     172packages.append("sas.sascalc") 
     173 
     174# sas.sascalc.invariant 
     175package_dir["sas.sascalc.invariant"] = os.path.join("src", "sas", "sascalc", "invariant") 
     176packages.extend(["sas.sascalc.invariant"]) 
    169177 
    170178# sas.sasgui.guiframe 
     
    181189        package_dir[package_name] = os.path.join(guiframe_path, "local_perspectives", d) 
    182190 
    183 # sas.dataloader 
    184 package_dir["sas.dataloader"] = os.path.join("src", "sas", "sascalc", "dataloader") 
    185 package_data["sas.dataloader.readers"] = ['defaults.json','schema/*.xsd'] 
    186 packages.extend(["sas.dataloader","sas.dataloader.readers","sas.dataloader.readers.schema"]) 
    187  
    188 # sas.calculator 
    189 package_dir["sas.calculator"] =os.path.join("src", "sas", "sascalc", "calculator") 
     191# sas.sascalc.dataloader 
     192package_dir["sas.sascalc.dataloader"] = os.path.join("src", "sas", "sascalc", "dataloader") 
     193package_data["sas.sascalc.dataloader.readers"] = ['defaults.json','schema/*.xsd'] 
     194packages.extend(["sas.sascalc.dataloader","sas.sascalc.dataloader.readers","sas.sascalc.dataloader.readers.schema"]) 
     195 
     196# sas.sascalc.calculator 
     197package_dir["sas.sascalc.calculator"] =os.path.join("src", "sas", "sascalc", "calculator") 
    190198packages.extend(["sas.sascalc.calculator"]) 
    191199     
     
    227235     
    228236# Data util 
    229 package_dir["data_util"] = os.path.join("src", "sas", "sascalc", "data_util") 
     237package_dir["sas.sascalc.data_util"] = os.path.join("src", "sas", "sascalc", "data_util") 
    230238packages.append("sas.sascalc.data_util") 
    231239 
  • src/sas/sascalc/dataloader/readers/cansas_reader.py

    rd85c194 r45d90b9  
    149149        # Generic values for the cansas file based on the version 
    150150        cansas_defaults = CANSAS_NS.get(self.cansas_version, "1.0") 
    151         schema_path = "{0}/sas/dataloader/readers/schema/{1}".format\ 
     151        schema_path = "{0}/sas/sascalc/dataloader/readers/schema/{1}".format\ 
    152152                (base, cansas_defaults.get("schema")).replace("\\", "/") 
    153153 
     
    10051005        mod = mod_name.split("sas/") 
    10061006        mod_name = mod[1] 
    1007         if mod_name != "dataloader/readers/cansas_reader": 
     1007        if mod_name != "sascalc/dataloader/readers/cansas_reader": 
    10081008            string = self.to_string(doc, pretty_print=False) 
    10091009            doc = parseString(string) 
Note: See TracChangeset for help on using the changeset viewer.