Changes in / [b77f3ff:c1790a5] in sasview
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/abs_reader.py
rbd5c3b1 re3775c6 171 171 172 172 try: 173 _x = float(toks[ 4])173 _x = float(toks[0]) 174 174 _y = float(toks[1]) 175 175 _dy = float(toks[2]) -
test/sasdataloader/test/utest_abs_reader.py
rbd5c3b1 rfa749b7 53 53 54 54 self.assertEqual(self.data.y_unit, 'cm^{-1}') 55 self.assertEqual(self.data.x[0], 0.00 8082)56 self.assertEqual(self.data.x[1], 0.0 275)57 self.assertEqual(self.data.x[2], 0.0 2762)55 self.assertEqual(self.data.x[0], 0.002618) 56 self.assertEqual(self.data.x[1], 0.007854) 57 self.assertEqual(self.data.x[2], 0.01309) 58 58 self.assertEqual(self.data.x[126], 0.5828) 59 59
Note: See TracChangeset
for help on using the changeset viewer.