Changeset 5251ec6 in sasview for src/sas/sasgui/guiframe/local_perspectives/plotting/sector_mask.py
- Timestamp:
- Oct 11, 2018 12:20:56 PM (6 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/sector_mask.py
r7432acb r5251ec6 3 3 """ 4 4 import math 5 5 6 import wx 6 #from copy import deepcopy 7 from BaseInteractor import _BaseInteractor 8 from SectorSlicer import SideInteractor 9 from SectorSlicer import LineInteractor 7 10 8 from sas.sasgui.guiframe.events import SlicerParameterEvent 9 10 from .BaseInteractor import _BaseInteractor 11 from .SectorSlicer import SideInteractor 12 from .SectorSlicer import LineInteractor 11 13 12 14 class SectorMask(_BaseInteractor): … … 175 177 msg += "different %f, %f" % (self.left_line.phi, 176 178 self.right_line.phi) 177 raise ValueError , msg179 raise ValueError(msg) 178 180 params["Phi"] = self.main_line.theta 179 181 params["Delta_Phi"] = math.fabs(self.left_line.phi)
Note: See TracChangeset
for help on using the changeset viewer.