- Timestamp:
- May 5, 2018 1:23:09 AM (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:
- 0863065
- Parents:
- 7d5e7da
- git-author:
- Stuart Prescott <stuart@…> (01/19/18 17:59:53)
- git-committer:
- Stuart Prescott <stuart@…> (05/05/18 01:23: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.