Changeset 206c87c in sasmodels


Ignore:
Timestamp:
Mar 19, 2016 10:30:46 AM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
ed048b2
Parents:
a78bebc (diff), 12dbc90 (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' of github.com:sasview/sasmodels

Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/convert.py

    r74f7238 r12dbc90  
    151151        elif name in ['mono_gauss_coil','poly_gauss_coil']: 
    152152            del oldpars['i_zero'] 
     153        elif name == 'fractal': 
     154            del oldpars['volfraction'] 
    153155 
    154156    return oldpars 
     
    186188        elif name == 'poly_gauss_coil': 
    187189            pars['i_zero'] = 1 
     190        elif name == 'fractal': 
     191            pars['volfraction'] = 1 
    188192             
  • sascomp

    r7e9af82 ra78bebc  
    88    sasmodels = os.path.dirname(os.path.realpath(__file__)) 
    99    root = os.path.dirname(sasmodels) 
    10     sasview=glob.glob(os.path.join(root, 'sasview', 'build', 'lib.*' ))[0] 
     10    sasview=glob.glob(os.path.join(root, 'sasview', 'build', 'lib.*' )) 
    1111    sys.path.insert(0, os.path.join(root, 'bumps')) 
    1212    sys.path.insert(0, os.path.join(root, 'periodictable')) 
    13     sys.path.insert(0, sasview) 
     13    if sasview:  # glob returns a list 
     14        sys.path.insert(0, sasview[0]) 
    1415    sys.path.insert(0, sasmodels) 
    1516 
Note: See TracChangeset for help on using the changeset viewer.