Changeset b77f3ff in sasview
- Timestamp:
- Aug 5, 2018 12:30:40 PM (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:
- cd59dc5
- Parents:
- c1790a5 (diff), bd5c3b1 (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 Butler <butlerpd@…> (08/05/18 12:30:40)
- git-committer:
- GitHub <noreply@…> (08/05/18 12:30:40)
- 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.