Changeset 8c9ffde in sasview for test/sasmodels/test/validate_1D_model.py
- Timestamp:
- Feb 13, 2015 4:01:33 AM (9 years ago)
- 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:
- 35ec279
- Parents:
- 3a39c2e
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
test/sasmodels/test/validate_1D_model.py
r5777106 r8c9ffde 2 2 """ 3 3 Class to validate a given model by reading a test data set 4 generated from the IGOR SA NS analysis tool from the NCNR4 generated from the IGOR SAS analysis tool from the NCNR 5 5 """ 6 6 import sys, math … … 10 10 """ 11 11 Class to validate a given model by reading a test data set 12 generated from the IGOR SA NS analysis tool from the NCNR12 generated from the IGOR SAS analysis tool from the NCNR 13 13 """ 14 14 … … 25 25 @param filename: name of the test data set 26 26 """ 27 from sa ns.models.CylinderModel import CylinderModel27 from sas.models.CylinderModel import CylinderModel 28 28 29 29 # Read the data file … … 46 46 print "Found class", toks[1] 47 47 classname = toks[1].lstrip().rstrip() 48 exec "from sa ns.models.%s import %s" % (classname, classname)48 exec "from sas.models.%s import %s" % (classname, classname) 49 49 exec "model_object = %s()" % classname 50 50
Note: See TracChangeset
for help on using the changeset viewer.