Changeset 574adc7 in sasview for src/sas/sascalc/corfunc
- Timestamp:
- Sep 22, 2017 4:01:32 PM (7 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 34d7b35
- Parents:
- 9706d88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/corfunc/corfunc_calculator.py
ra859f99 r574adc7 88 88 # Only process data of the class Data1D 89 89 if not issubclass(data.__class__, Data1D): 90 raise ValueError , "Data must be of the type DataLoader.Data1D"90 raise ValueError("Data must be of the type DataLoader.Data1D") 91 91 92 92 # Prepare the data … … 161 161 err = ("Incorrect transform type supplied, must be 'fourier'", 162 162 " or 'hilbert'") 163 raise ValueError , err163 raise ValueError(err) 164 164 165 165 self._transform_thread.queue()
Note: See TracChangeset
for help on using the changeset viewer.