Changeset bd5c3b1 in sasview
- Timestamp:
- Jul 26, 2018 8:06:56 AM (6 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:
- c1790a5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/abs_reader.py
re3775c6 rbd5c3b1 171 171 172 172 try: 173 _x = float(toks[ 0])173 _x = float(toks[4]) 174 174 _y = float(toks[1]) 175 175 _dy = float(toks[2]) -
test/sasdataloader/test/utest_abs_reader.py
rfa749b7 rbd5c3b1 53 53 54 54 self.assertEqual(self.data.y_unit, 'cm^{-1}') 55 self.assertEqual(self.data.x[0], 0.00 2618)56 self.assertEqual(self.data.x[1], 0.0 07854)57 self.assertEqual(self.data.x[2], 0.0 1309)55 self.assertEqual(self.data.x[0], 0.008082) 56 self.assertEqual(self.data.x[1], 0.0275) 57 self.assertEqual(self.data.x[2], 0.02762) 58 58 self.assertEqual(self.data.x[126], 0.5828) 59 59
Note: See TracChangeset
for help on using the changeset viewer.