Changeset 8b935d1 in sasmodels


Ignore:
Timestamp:
Mar 20, 2016 9:50:22 AM (9 years ago)
Author:
krzywon
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:
3a45c2c, 6794301
Parents:
326281f
Message:

Change resolution.py to implement new core.load_model interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/resolution.py

    r2f63032 r8b935d1  
    689689        self.pars = TEST_PARS_PINHOLE_SPHERE 
    690690        from sasmodels import core 
    691         from sasmodels.models import sphere 
    692         self.model = core.load_model(sphere, dtype='double') 
     691        self.model = core.load_model("sphere", dtype='double') 
    693692 
    694693    def _eval_sphere(self, pars, resolution): 
Note: See TracChangeset for help on using the changeset viewer.