Changeset 5251ec6 in sasview for src/sas/sasgui/guiframe/local_perspectives/plotting/SectorSlicer.py
- Timestamp:
- Oct 11, 2018 12:20:56 PM (5 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1249
- Children:
- 98b9f32
- Parents:
- 67ed543
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/plotting/SectorSlicer.py
r8de66b6 r5251ec6 3 3 """ 4 4 import math 5 5 6 import wx 6 from BaseInteractor import _BaseInteractor 7 7 8 from sas.sasgui.guiframe.events import NewPlotEvent 8 9 from sas.sasgui.guiframe.events import StatusEvent … … 10 11 from sas.sasgui.guiframe.events import EVT_SLICER_PARS 11 12 from sas.sasgui.guiframe.dataFitting import Data1D 13 14 from .BaseInteractor import _BaseInteractor 12 15 13 16 … … 238 241 msg = "Phi left and phi right are different" 239 242 msg += " %f, %f" % (self.left_line.phi, self.right_line.phi) 240 raise ValueError , msg243 raise ValueError(msg) 241 244 params["Phi [deg]"] = self.main_line.theta * 180 / math.pi 242 245 params["Delta_Phi [deg]"] = math.fabs(self.left_line.phi * 180 / math.pi)
Note: See TracChangeset
for help on using the changeset viewer.