Changes in / [713cc1c:e5c09cf] in sasview


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sasview/__init__.py

    r801a296 r8ca1ba1  
    33try: 
    44    import subprocess 
    5     import os 
    6     FNULL = open(os.devnull, 'w') 
    7     git_revision = subprocess.check_output(['git', 'rev-parse', 'HEAD'], 
    8                     stderr=FNULL, 
    9                     shell=True) 
     5    git_revision = subprocess.check_output(['git', 'rev-parse', 'HEAD']) 
    106    __build__ = str(git_revision).strip() 
    117except: 
  • sasview/setup_exe.py

    rc3e4e213 r5552396  
    242242if os.path.isfile(f): 
    243243    data_files.append(('.', [f])) 
    244  
    245 # atlas DLL required by matplotlib 11.1 
    246 # ** REVISIT WHEN MOVING TO ANACONDA ** 
    247 f = "c:\\python27\\lib\\site-packages\\numpy\\core\\numpy-atlas.dll" 
    248 if os.path.isfile(f): 
    249     data_files.append(('.', [f])) 
    250244     
    251245if os.path.isfile("BUILD_NUMBER"): 
     
    338332    # numpy 1.8 openmp bindings (still seems to use all the cores without them) 
    339333    #'libiomp5md.dll', 'libifcoremd.dll', 'libmmd.dll', 'svml_dispmd.dll','libifportMD.dll', 
    340     'numpy-atlas.dll', 
    341334    # microsoft C runtime (not allowed to ship with the app; need to ship vcredist 
    342335    'msvcp90.dll', 
  • src/sas/sascalc/calculator/BaseComponent.py

    rdeddda1 rcb4ef58  
    77# imports 
    88import copy 
    9 from collections import OrderedDict 
    10  
    119import numpy 
    1210#TO DO: that about a way to make the parameter 
     
    256254        Return a list of all available parameters for the model 
    257255        """ 
    258         list = _ordered_keys(self.params) 
     256        list = self.params.keys() 
    259257        # WARNING: Extending the list with the dispersion parameters 
    260258        list.extend(self.getDispParamList()) 
     
    266264        """ 
    267265        list = [] 
    268         for item in _ordered_keys(self.dispersion): 
    269             for p in _ordered_keys(self.dispersion[item]): 
     266 
     267        for item in self.dispersion.keys(): 
     268            for p in self.dispersion[item].keys(): 
    270269                if p not in ['type']: 
    271270                    list.append('%s.%s' % (item.lower(), p.lower())) 
     
    310309        """ 
    311310        raise ValueError, "Model operation are no longer supported" 
    312  
    313  
    314 def _ordered_keys(d): 
    315     keys = list(d.keys()) 
    316     if not isinstance(d, OrderedDict): 
    317         keys.sort() 
    318     return keys 
  • src/sas/sascalc/calculator/sas_gen.py

    rd2fd8fc rcb4ef58  
    33SAS generic computation and sld file readers 
    44""" 
     5from sas.sascalc.calculator.BaseComponent import BaseComponent 
    56import sas.sascalc.calculator.core.sld2i as mod 
    6 from sas.sascalc.calculator.BaseComponent import BaseComponent 
    77from periodictable import formula 
    88from periodictable import nsf 
Note: See TracChangeset for help on using the changeset viewer.