- Timestamp:
- Apr 10, 2017 11:01:14 AM (8 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 4b5f2657
- Parents:
- 5d1e040 (diff), d26f025 (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. - Location:
- test
- Files:
-
- 8 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
test/pr_inversion/test/utest_invertor.py
r959eb01 rac07a3a 576 576 data_err = np.zeros(0) 577 577 scale = None 578 if not path ==None:578 if path is not None: 579 579 input_f = open(path,'r') 580 580 buff = input_f.read() -
test/sasdataloader/test/utest_cansas.py
r959eb01 r7432acb 103 103 self.assertAlmostEqual(data.detector[1].distance, 4145.02) 104 104 self.assertTrue(data.process[0].name == "Mantid generated CanSAS1D XML") 105 self.assertTrue(data.meta_data["xmlpreprocess"] !=None)105 self.assertTrue(data.meta_data["xmlpreprocess"] is not None) 106 106 107 107 -
test/sasrealspace/test/sim_validation.py
r959eb01 rac07a3a 32 32 #return: mean, error 33 33 """ 34 if not density ==None:34 if density is not None: 35 35 self.density = density 36 36 self.create() … … 45 45 #return: mean, error 46 46 """ 47 if not density ==None:47 if density is not None: 48 48 self.density = density 49 49 self.create() -
test/sasrealspace/test/utest_realspace.py
r959eb01 r45dffa69 326 326 self.canvas.setParam('%s.radius' % handle, self.outer_radius) 327 327 self.canvas.setParam('%s.contrast' % handle, self.shell_sld) 328 if not order1 ==None:328 if order1 is not None: 329 329 self.canvas.setParam('%s.order' % handle, order1) 330 330 … … 332 332 self.canvas.setParam('%s.radius' % handle2, self.radius) 333 333 self.canvas.setParam('%s.contrast' % handle2, 1.0) 334 if not order2 ==None:334 if order2 is not None: 335 335 self.canvas.setParam('%s.order' % handle2, order2) 336 336
Note: See TracChangeset
for help on using the changeset viewer.