Changeset 17968c3 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
- Timestamp:
- Jan 26, 2018 5:52:20 AM (6 years ago)
- Branches:
- 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
- Children:
- 9c0ce68
- Parents:
- c6343a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
r116dd4c1 r17968c3 236 236 raise AttributeError(msg) 237 237 238 if is_batch: 239 # Just create a new fit tab. No empty batchFit tabs 240 self.addFit(data_item, is_batch=is_batch) 241 return 242 238 243 items = [data_item] if is_batch else data_item 239 240 244 for data in items: 241 245 # Find the first unassigned tab. 242 246 # If none, open a new tab. 243 available_tabs = list([tab.acceptsData() for tab in self.tabs])247 available_tabs = [tab.acceptsData() for tab in self.tabs] 244 248 245 249 if numpy.any(available_tabs):
Note: See TracChangeset
for help on using the changeset viewer.