Changeset 10786bc2 in sasview
- Timestamp:
- Jan 7, 2019 7:46:27 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
- Children:
- d1ad101
- Parents:
- 04a884a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Utilities/GuiUtils.py
r04a884a r10786bc2 30 30 from sas.qtgui.Plotting.Plottables import Plottable 31 31 from sas.sascalc.dataloader.data_info import Sample, Source, Vector 32 from sas.sascalc.dataloader.data_info import Detector, Process, TransmissionSpectrum 33 from sas.sascalc.dataloader.data_info import Aperture, Collimation 32 34 from sas.qtgui.Plotting.Plottables import View 33 35 from sas.qtgui.Plotting.Plottables import PlottableTheory1D … … 1181 1183 if isinstance(o, (Sample, Source, Vector, FResult)): 1182 1184 return add_type(o.__dict__, type(o)) 1185 # detector 1186 if isinstance(o, (Detector, Process, TransmissionSpectrum, Aperture, Collimation)): 1187 return add_type(o.__dict__, type(o)) 1188 1183 1189 if isinstance(o, (Plottable, View)): 1184 1190 return add_type(o.__dict__, type(o)) … … 1220 1226 Sample, Source, Vector, 1221 1227 Plottable, Data1D, Data2D, PlottableTheory1D, PlottableFit1D, Text, Chisq, View, 1228 Detector, Process, TransmissionSpectrum, Collimation, Aperture, 1222 1229 DataState, np.ndarray, FResult, FitData1D, FitData2D, SasviewModel] 1223 1230 … … 1252 1259 1253 1260 # "simple" types 1254 if cls in (Sample, Source, Vector, FResult, FitData1D, FitData2D, SasviewModel): 1261 if cls in (Sample, Source, Vector, FResult, FitData1D, FitData2D, 1262 SasviewModel, Detector, Process, TransmissionSpectrum, 1263 Collimation, Aperture): 1255 1264 return simple_type(cls, data, level) 1256 1265 if issubclass(cls, Plottable) or (cls == View):
Note: See TracChangeset
for help on using the changeset viewer.