wolfhece 2.1.76__py3-none-any.whl → 2.1.78__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wolfhece/PyDraw.py +14 -3
- wolfhece/acceptability/acceptability.py +563 -551
- wolfhece/acceptability/acceptability_gui.py +331 -328
- wolfhece/acceptability/func.py +1597 -1637
- wolfhece/apps/version.py +1 -1
- wolfhece/wolf_array.py +19 -16
- {wolfhece-2.1.76.dist-info → wolfhece-2.1.78.dist-info}/METADATA +1 -1
- {wolfhece-2.1.76.dist-info → wolfhece-2.1.78.dist-info}/RECORD +11 -11
- {wolfhece-2.1.76.dist-info → wolfhece-2.1.78.dist-info}/WHEEL +1 -1
- {wolfhece-2.1.76.dist-info → wolfhece-2.1.78.dist-info}/entry_points.txt +0 -0
- {wolfhece-2.1.76.dist-info → wolfhece-2.1.78.dist-info}/top_level.txt +0 -0
wolfhece/PyDraw.py
CHANGED
@@ -175,7 +175,7 @@ class Colors_1to9(wx.Frame):
|
|
175
175
|
|
176
176
|
def change_colors(self, e):
|
177
177
|
|
178
|
-
super(Colors_1to9, self).__init__(self._parent, title=_('Colors 1 to 9'), size=(200, 400))
|
178
|
+
super(Colors_1to9, self).__init__(self._parent, title=_('Colors 1 to 9'), size=(200, 400), style = wx.DEFAULT_FRAME_STYLE & ~ (wx.RESIZE_BORDER | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.CLOSE_BOX))
|
179
179
|
panel = wx.Panel(self)
|
180
180
|
panel.SetBackgroundColour(wx.Colour(255, 255, 255))
|
181
181
|
|
@@ -213,6 +213,13 @@ class Colors_1to9(wx.Frame):
|
|
213
213
|
self.Bind(wx.EVT_BUTTON, self.OnSetDefault, cdmSetDefault)
|
214
214
|
self.Bind(wx.EVT_BUTTON, self.OnSave, cmdSave)
|
215
215
|
|
216
|
+
icon = wx.Icon()
|
217
|
+
icon_path = Path(__file__).parent / "apps/wolf_logo2.bmp"
|
218
|
+
icon.CopyFromBitmap(wx.Bitmap(str(icon_path), wx.BITMAP_TYPE_ANY))
|
219
|
+
self.SetIcon(icon)
|
220
|
+
|
221
|
+
self.CenterOnScreen()
|
222
|
+
|
216
223
|
self.Show()
|
217
224
|
|
218
225
|
def Apply(self):
|
@@ -8809,8 +8816,8 @@ class WolfMapViewer(wx.Frame):
|
|
8809
8816
|
'R': _('Arrays : reset the selection and the associated dictionnary'),
|
8810
8817
|
|
8811
8818
|
'1,2...9': _('Arrays : transfer the selection to the associated dictionary - key 1 to 9'),
|
8812
|
-
'>, <' : _('Arrays : dilate/erode the selection'),
|
8813
|
-
'CTRL+>, CTRL+<': _('Arrays : dilate/erode the selection unselecting the values inside the contour'),
|
8819
|
+
'>, <' : _('Arrays : dilate/erode the selection - cross-shaped neighbours'),
|
8820
|
+
'CTRL+>, CTRL+<': _('Arrays : dilate/erode the selection unselecting the values inside the contour - cross-shaped neighbours'),
|
8814
8821
|
|
8815
8822
|
'i': _('Arrays : 2D interpolation based on the selection on the current matrix'),
|
8816
8823
|
'CTRL+C': _('Arrays : Set copy source and current selection to clipboard as string'),
|
@@ -8937,10 +8944,12 @@ class WolfMapViewer(wx.Frame):
|
|
8937
8944
|
if self.active_array is not None:
|
8938
8945
|
if self.active_array.SelectionData is not None:
|
8939
8946
|
self.active_array.SelectionData.dilate_contour_selection(1)
|
8947
|
+
self.active_array.reset_plot()
|
8940
8948
|
elif key == 60 and not shiftdown: #'<'
|
8941
8949
|
if self.active_array is not None:
|
8942
8950
|
if self.active_array.SelectionData is not None:
|
8943
8951
|
self.active_array.SelectionData.erode_contour_selection()
|
8952
|
+
self.active_array.reset_plot()
|
8944
8953
|
|
8945
8954
|
elif key == wx.WXK_F2 and shiftdown:
|
8946
8955
|
|
@@ -9212,10 +9221,12 @@ class WolfMapViewer(wx.Frame):
|
|
9212
9221
|
if self.active_array is not None:
|
9213
9222
|
if self.active_array.SelectionData is not None:
|
9214
9223
|
self.active_array.SelectionData.dilate_selection(1)
|
9224
|
+
self.active_array.reset_plot()
|
9215
9225
|
elif key == 60 and not shiftdown: #'<'
|
9216
9226
|
if self.active_array is not None:
|
9217
9227
|
if self.active_array.SelectionData is not None:
|
9218
9228
|
self.active_array.SelectionData.erode_selection(1)
|
9229
|
+
self.active_array.reset_plot()
|
9219
9230
|
|
9220
9231
|
elif key == wx.WXK_ESCAPE:
|
9221
9232
|
|