Changeset de43192 in sasview for test/corfunc
- Timestamp:
- May 5, 2018 6:39:09 PM (7 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- 9258c43c
- Parents:
- 7d5e7da (diff), 6ef75fa6 (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. - git-author:
- Paul Kienzle <pkienzle@…> (05/05/18 18:39:09)
- git-committer:
- GitHub <noreply@…> (05/05/18 18:39:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/corfunc/test/utest_corfunc.py
rf53d684 r6ef75fa6 74 74 while True: 75 75 time.sleep(0.001) 76 if not self.calculator.transform_isrunning(): 76 if (not self.calculator.transform_isrunning() and 77 self.transformation is not None): 77 78 break 78 79 79 def transform_callback(self, transforms): 80 transform1, transform3, idf = transforms 80 transform1, transform3, idf = self.transformation 81 81 self.assertIsNotNone(transform1) 82 82 self.assertAlmostEqual(transform1.y[0], 1) 83 83 self.assertAlmostEqual(transform1.y[-1], 0, 5) 84 85 def transform_callback(self, transforms): 84 86 self.transformation = transforms 85 87
Note: See TracChangeset
for help on using the changeset viewer.