wolfhece 2.1.64__py3-none-any.whl → 2.1.66__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 -4
- wolfhece/PyVertexvectors.py +8 -12
- wolfhece/apps/version.py +1 -1
- wolfhece/wolf_array.py +21 -16
- {wolfhece-2.1.64.dist-info → wolfhece-2.1.66.dist-info}/METADATA +1 -1
- {wolfhece-2.1.64.dist-info → wolfhece-2.1.66.dist-info}/RECORD +9 -9
- {wolfhece-2.1.64.dist-info → wolfhece-2.1.66.dist-info}/WHEEL +0 -0
- {wolfhece-2.1.64.dist-info → wolfhece-2.1.66.dist-info}/entry_points.txt +0 -0
- {wolfhece-2.1.64.dist-info → wolfhece-2.1.66.dist-info}/top_level.txt +0 -0
wolfhece/PyDraw.py
CHANGED
@@ -7518,6 +7518,11 @@ class WolfMapViewer(wx.Frame):
|
|
7518
7518
|
curobj: WolfArray
|
7519
7519
|
curobj = self.active_array.SelectionData
|
7520
7520
|
|
7521
|
+
if curobj.myselection == 'all':
|
7522
|
+
logging.warning(_('All nodes are selected !!'))
|
7523
|
+
logging.warning(_('Selecting node by node will force to reset the selection'))
|
7524
|
+
logging.warning(_('and start from scratch'))
|
7525
|
+
|
7521
7526
|
curobj.add_node_to_selection(x, y)
|
7522
7527
|
curobj.update_nb_nodes_selection()
|
7523
7528
|
self.Paint()
|
@@ -8528,7 +8533,8 @@ class WolfMapViewer(wx.Frame):
|
|
8528
8533
|
'CTRL+Shift+F4': _('Particle system : choose the step based on time'),
|
8529
8534
|
'SPACE': _('Particle system : pause/resume animation'),
|
8530
8535
|
|
8531
|
-
'
|
8536
|
+
'LMB double clicks': _('Drawing : center the view on the clicked point -- future zoom will be centered on the point'),
|
8537
|
+
'LMB and move': _('Drawing : translate the view'),
|
8532
8538
|
'Mouse wheel click and move': _('Drawing : translate the view'),
|
8533
8539
|
'Mouse wheel': _('Drawing : zoom in/out - centered on the middle of the canvas'),
|
8534
8540
|
'Mouse wheel + Space Bar': _('Drawing : zoom in/out - centered on the mouse position'),
|
@@ -8537,8 +8543,6 @@ class WolfMapViewer(wx.Frame):
|
|
8537
8543
|
'CTRL + z': _('Drawing : Autoscale only on active array'),
|
8538
8544
|
'CTRL + Z': _('Drawing : Autoscale only on active vector'),
|
8539
8545
|
|
8540
|
-
'Arrow keys': _('Drawing : lateral movements'),
|
8541
|
-
|
8542
8546
|
'F5': _('Drawing : autoscale'),
|
8543
8547
|
'F7': _('Drawing : refresh'),
|
8544
8548
|
'Arrows': _('Drawing : lateral movements'),
|
@@ -8575,6 +8579,7 @@ class WolfMapViewer(wx.Frame):
|
|
8575
8579
|
'f or F, CTRL+F': _('Zones : search for the polyline in the current zone or in all zones'),
|
8576
8580
|
|
8577
8581
|
'RETURN': _('Action : End the current action (see also right double-click -- OnRDClick)'),
|
8582
|
+
'Press and Hold CTRL': _('Action : Data Frame follows the mouse cursor'),
|
8578
8583
|
|
8579
8584
|
'DELETE': _('Tree : Remove item'),
|
8580
8585
|
|
@@ -8609,7 +8614,12 @@ class WolfMapViewer(wx.Frame):
|
|
8609
8614
|
sizer.Add(multiline, 1, wx.EXPAND)
|
8610
8615
|
|
8611
8616
|
frame.SetSizer(sizer)
|
8612
|
-
|
8617
|
+
|
8618
|
+
icon = wx.Icon()
|
8619
|
+
icon_path = Path(__file__).parent / "apps/wolf_logo2.bmp"
|
8620
|
+
icon.CopyFromBitmap(wx.Bitmap(str(icon_path), wx.BITMAP_TYPE_ANY))
|
8621
|
+
frame.SetIcon(icon)
|
8622
|
+
|
8613
8623
|
frame.SetAutoLayout(True)
|
8614
8624
|
frame.Layout()
|
8615
8625
|
|
wolfhece/PyVertexvectors.py
CHANGED
@@ -887,16 +887,10 @@ if :\n \
|
|
887
887
|
|
888
888
|
self.myprops.SetTitle(_('Vector properties - {}'.format(self.parent.myname)))
|
889
889
|
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
icon = wx.Icon()
|
895
|
-
icon_path = Path(__file__).parent / "apps/wolf_logo.bmp"
|
896
|
-
icon.CopyFromBitmap(wx.Bitmap(str(icon_path), wx.BITMAP_TYPE_ANY))
|
897
|
-
self.myprops.SetIcon(icon)
|
898
|
-
except Exception as e:
|
899
|
-
logging.warning('Problem with icon for properties window : {}'.format(e))
|
890
|
+
icon = wx.Icon()
|
891
|
+
icon_path = Path(__file__).parent / "apps/wolf_logo2.bmp"
|
892
|
+
icon.CopyFromBitmap(wx.Bitmap(str(icon_path), wx.BITMAP_TYPE_ANY))
|
893
|
+
self.myprops.SetIcon(icon)
|
900
894
|
|
901
895
|
self.myprops.Center()
|
902
896
|
self.myprops.Raise()
|
@@ -4882,8 +4876,10 @@ class Zones(wx.Frame, Element_To_Draw):
|
|
4882
4876
|
|
4883
4877
|
self.SetSizer(box)
|
4884
4878
|
|
4885
|
-
|
4886
|
-
|
4879
|
+
icon = wx.Icon()
|
4880
|
+
icon_path = Path(__file__).parent / "apps/wolf_logo2.bmp"
|
4881
|
+
icon.CopyFromBitmap(wx.Bitmap(str(icon_path), wx.BITMAP_TYPE_ANY))
|
4882
|
+
self.SetIcon(icon)
|
4887
4883
|
|
4888
4884
|
if self.idx == '':
|
4889
4885
|
if self.parent is not None:
|
wolfhece/apps/version.py
CHANGED
wolfhece/wolf_array.py
CHANGED
@@ -1251,7 +1251,7 @@ class NewArray(wx.Dialog):
|
|
1251
1251
|
|
1252
1252
|
glsizer.Insert(0, gSizer1)
|
1253
1253
|
|
1254
|
-
self.m_staticText9 = wx.StaticText(self, wx.ID_ANY, u"dX", wx.DefaultPosition, wx.DefaultSize, 0)
|
1254
|
+
self.m_staticText9 = wx.StaticText(self, wx.ID_ANY, u"dX [m]", wx.DefaultPosition, wx.DefaultSize, 0)
|
1255
1255
|
self.m_staticText9.Wrap(-1)
|
1256
1256
|
|
1257
1257
|
gSizer1.Add(self.m_staticText9, 0, wx.ALL, 5)
|
@@ -1259,7 +1259,7 @@ class NewArray(wx.Dialog):
|
|
1259
1259
|
self.dx = wx.TextCtrl(self, wx.ID_ANY, u"1", wx.DefaultPosition, wx.DefaultSize, style=wx.TE_CENTER)
|
1260
1260
|
gSizer1.Add(self.dx, 0, wx.ALL, 5)
|
1261
1261
|
|
1262
|
-
self.m_staticText10 = wx.StaticText(self, wx.ID_ANY, u"dY", wx.DefaultPosition, wx.DefaultSize, 0)
|
1262
|
+
self.m_staticText10 = wx.StaticText(self, wx.ID_ANY, u"dY [m]", wx.DefaultPosition, wx.DefaultSize, 0)
|
1263
1263
|
self.m_staticText10.Wrap(-1)
|
1264
1264
|
|
1265
1265
|
gSizer1.Add(self.m_staticText10, 0, wx.ALL, 5)
|
@@ -1267,7 +1267,7 @@ class NewArray(wx.Dialog):
|
|
1267
1267
|
self.dy = wx.TextCtrl(self, wx.ID_ANY, u"1", wx.DefaultPosition, wx.DefaultSize, style=wx.TE_CENTER)
|
1268
1268
|
gSizer1.Add(self.dy, 0, wx.ALL, 5)
|
1269
1269
|
|
1270
|
-
self.m_staticText11 = wx.StaticText(self, wx.ID_ANY, u"NbX", wx.DefaultPosition, wx.DefaultSize, 0)
|
1270
|
+
self.m_staticText11 = wx.StaticText(self, wx.ID_ANY, u"NbX [-]", wx.DefaultPosition, wx.DefaultSize, 0)
|
1271
1271
|
self.m_staticText11.Wrap(-1)
|
1272
1272
|
|
1273
1273
|
gSizer1.Add(self.m_staticText11, 0, wx.ALL, 5)
|
@@ -1275,7 +1275,7 @@ class NewArray(wx.Dialog):
|
|
1275
1275
|
self.nbx = wx.TextCtrl(self, wx.ID_ANY, u"1", wx.DefaultPosition, wx.DefaultSize, style=wx.TE_CENTER)
|
1276
1276
|
gSizer1.Add(self.nbx, 0, wx.ALL, 5)
|
1277
1277
|
|
1278
|
-
self.m_staticText12 = wx.StaticText(self, wx.ID_ANY, u"NbY", wx.DefaultPosition, wx.DefaultSize, 0)
|
1278
|
+
self.m_staticText12 = wx.StaticText(self, wx.ID_ANY, u"NbY [-]", wx.DefaultPosition, wx.DefaultSize, 0)
|
1279
1279
|
self.m_staticText12.Wrap(-1)
|
1280
1280
|
|
1281
1281
|
gSizer1.Add(self.m_staticText12, 0, wx.ALL, 5)
|
@@ -1283,7 +1283,7 @@ class NewArray(wx.Dialog):
|
|
1283
1283
|
self.nby = wx.TextCtrl(self, wx.ID_ANY, u"1", wx.DefaultPosition, wx.DefaultSize, style=wx.TE_CENTER)
|
1284
1284
|
gSizer1.Add(self.nby, 0, wx.ALL, 5)
|
1285
1285
|
|
1286
|
-
self.m_staticText13 = wx.StaticText(self, wx.ID_ANY, u"
|
1286
|
+
self.m_staticText13 = wx.StaticText(self, wx.ID_ANY, u"Origin X [m]", wx.DefaultPosition, wx.DefaultSize, 0)
|
1287
1287
|
self.m_staticText13.Wrap(-1)
|
1288
1288
|
|
1289
1289
|
gSizer1.Add(self.m_staticText13, 0, wx.ALL, 5)
|
@@ -1291,7 +1291,7 @@ class NewArray(wx.Dialog):
|
|
1291
1291
|
self.ox = wx.TextCtrl(self, wx.ID_ANY, u"0", wx.DefaultPosition, wx.DefaultSize, style=wx.TE_CENTER)
|
1292
1292
|
gSizer1.Add(self.ox, 0, wx.ALL, 5)
|
1293
1293
|
|
1294
|
-
self.m_staticText14 = wx.StaticText(self, wx.ID_ANY, u"
|
1294
|
+
self.m_staticText14 = wx.StaticText(self, wx.ID_ANY, u"Origin Y [m]", wx.DefaultPosition, wx.DefaultSize, 0)
|
1295
1295
|
self.m_staticText14.Wrap(-1)
|
1296
1296
|
|
1297
1297
|
gSizer1.Add(self.m_staticText14, 0, wx.ALL, 5)
|
@@ -2007,6 +2007,11 @@ class Ops_Array(wx.Frame):
|
|
2007
2007
|
self.histoupdatezoom.Bind(wx.EVT_BUTTON, self.OnClickHistoUpdate)
|
2008
2008
|
self.histoupdateerase.Bind(wx.EVT_BUTTON, self.OnClickHistoUpdate)
|
2009
2009
|
|
2010
|
+
icon = wx.Icon()
|
2011
|
+
icon_path = Path(__file__).parent / "apps/wolf_logo2.bmp"
|
2012
|
+
icon.CopyFromBitmap(wx.Bitmap(str(icon_path), wx.BITMAP_TYPE_ANY))
|
2013
|
+
self.SetIcon(icon)
|
2014
|
+
|
2010
2015
|
def OnBlockSelect(self, event):
|
2011
2016
|
""" Select block """
|
2012
2017
|
|
@@ -3049,13 +3054,6 @@ class SelectionData():
|
|
3049
3054
|
# So, if we want to update the plot, we need to apply the flag on each selection (current ans stored)
|
3050
3055
|
update_select = self.update_plot_selection
|
3051
3056
|
|
3052
|
-
if self.myselection != 'all':
|
3053
|
-
# plot current selection in RED if not 'all'
|
3054
|
-
if len(self.myselection) > 0:
|
3055
|
-
self.numlist_select = self._plot_selection(self.myselection,
|
3056
|
-
(1., 0., 0.),
|
3057
|
-
self.numlist_select)
|
3058
|
-
|
3059
3057
|
if len(self.selections) > 0:
|
3060
3058
|
# plot stored selections
|
3061
3059
|
for cur in self.selections.values():
|
@@ -3067,6 +3065,15 @@ class SelectionData():
|
|
3067
3065
|
float(col[2]) / 255.),
|
3068
3066
|
cur['idgllist'])
|
3069
3067
|
|
3068
|
+
|
3069
|
+
if self.myselection != 'all':
|
3070
|
+
# plot current selection in RED if not 'all'
|
3071
|
+
if len(self.myselection) > 0:
|
3072
|
+
self.update_plot_selection = update_select
|
3073
|
+
self.numlist_select = self._plot_selection(self.myselection,
|
3074
|
+
(1., 0., 0.),
|
3075
|
+
self.numlist_select)
|
3076
|
+
|
3070
3077
|
def _plot_selection(self, curlist:list[float], color:list[float], loclist:int=0):
|
3071
3078
|
"""
|
3072
3079
|
Plot a selection
|
@@ -4485,6 +4492,7 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
4485
4492
|
assert self.wx_exists, _('Array creation required a running wx App to display the UI')
|
4486
4493
|
# Dialog for the creation of a new array
|
4487
4494
|
new = NewArray(None)
|
4495
|
+
|
4488
4496
|
ret = new.ShowModal()
|
4489
4497
|
if ret == wx.ID_CANCEL:
|
4490
4498
|
return
|
@@ -4655,9 +4663,6 @@ class WolfArray(Element_To_Draw, header_wolf):
|
|
4655
4663
|
if self.wx_exists and self.myops is not None:
|
4656
4664
|
self.myops.SetTitle(_('Operations on array: ') + self.idx)
|
4657
4665
|
|
4658
|
-
if self.mapviewer is not None:
|
4659
|
-
self.myops.SetIcon(self.mapviewer.GetIcon())
|
4660
|
-
|
4661
4666
|
self.myops.Show()
|
4662
4667
|
|
4663
4668
|
self.myops.Center()
|
@@ -7,7 +7,7 @@ wolfhece/ManageParams.py,sha256=EeuUI5Vvh9ixCvYf8YShMC1s1Yacc7OxOCN7q81gqiQ,517
|
|
7
7
|
wolfhece/Model1D.py,sha256=uL1DJVmDI2xVSE7H6n3icn3QbsPtTHeg8E-6wkDloKw,476914
|
8
8
|
wolfhece/PyConfig.py,sha256=FB8u0belXOXTb03Ln6RdVWvMgjzi3oGPCmw2dWa3lNg,8332
|
9
9
|
wolfhece/PyCrosssections.py,sha256=FnmM9DWY_SAF2EDH9Gu2PojXNtSTRF4-aYQuAAJXBh4,112771
|
10
|
-
wolfhece/PyDraw.py,sha256=
|
10
|
+
wolfhece/PyDraw.py,sha256=pvvPOhMs1JxyYzEBPwBm7w5oP-0smiZly0pU4mv7LJY,409909
|
11
11
|
wolfhece/PyGui.py,sha256=oBIBpgBQRR_XXucKE5-RFrtqKj0DRg9VlUCRo8Mzalc,105009
|
12
12
|
wolfhece/PyGuiHydrology.py,sha256=f60E8K9eGTnRq5RDF6yvt-ahf2AYegwQ9t25zZ2Mk1A,14946
|
13
13
|
wolfhece/PyHydrographs.py,sha256=jwtSNMMACwarxrtN1UeQYth99UNrhwPx1IGgUwcooHA,3774
|
@@ -16,7 +16,7 @@ wolfhece/PyParams.py,sha256=Zxf3baM4TFNapcDqgrtM4IZ4vwCGVd3penwgwWUtG40,97775
|
|
16
16
|
wolfhece/PyPictures.py,sha256=m1kY0saW6Y9Q0bDCo47lW6XxDkBrbQG-Fd8uVn8G5ic,2514
|
17
17
|
wolfhece/PyTranslate.py,sha256=4appkmNeHHZLFmUtaA_k5_5QL-5ymxnbVN4R2OblmtE,622
|
18
18
|
wolfhece/PyVertex.py,sha256=MtZVjIWIi62QX_oqNosb56xPgjhOGVeGz-XsD82tsNg,40614
|
19
|
-
wolfhece/PyVertexvectors.py,sha256=
|
19
|
+
wolfhece/PyVertexvectors.py,sha256=6rUVRMbar-2s59DrbnGncUOj5dR5ovMYxi8LXLd9PzA,236833
|
20
20
|
wolfhece/PyWMS.py,sha256=fyyzm2HFwq8aRwVYHKiBatcZOeKnFi6DWhv4nfscySQ,4602
|
21
21
|
wolfhece/RatingCurve.py,sha256=bUjIrQjvIjkD4V-z8bZmA6pe1ILtYNM0-3fT6YUY1RU,22498
|
22
22
|
wolfhece/RatingCurveData.py,sha256=5UvnIm89BwqjnEbLCcY3CA8WoFd_xHJbooNy62fX5iY,57660
|
@@ -48,7 +48,7 @@ wolfhece/pywalous.py,sha256=yRaWJjKckXef1d9D5devP0yFHC9uc6kRV4G5x9PNq9k,18972
|
|
48
48
|
wolfhece/rain_SPWMI.py,sha256=qCfcmF7LajloOaCwnTrrSMzyME03YyilmRUOqrPrv3U,13846
|
49
49
|
wolfhece/textpillow.py,sha256=map7HsGYML_o5NHRdFg2s_TVQed_lDnpYNDv27MM0Vw,14130
|
50
50
|
wolfhece/tools_mpl.py,sha256=gQ3Jg1iuZiecmMqa5Eli2ZLSkttu68VXL8YmMDBaEYU,564
|
51
|
-
wolfhece/wolf_array.py,sha256=
|
51
|
+
wolfhece/wolf_array.py,sha256=Zb93bxUx5JJ8Mq7jQWBMMRAJLsgSjeX5EIA31aJJ8LI,376066
|
52
52
|
wolfhece/wolf_hist.py,sha256=7jeVrgSkM3ErJO6SRMH_PGzfLjIdw8vTy87kesldggk,3582
|
53
53
|
wolfhece/wolf_texture.py,sha256=DS5eobLxrq9ljyebYfpMSQPn8shkUAZZVfqrOKN_QUU,16951
|
54
54
|
wolfhece/wolf_tiles.py,sha256=2Ho2I20rHRY81KXxjgLOYISdF4OkJ2d6omeY4shDoGI,10386
|
@@ -72,7 +72,7 @@ wolfhece/apps/check_install.py,sha256=Xoi_d8MzKzNAy2xqEpERdsqgRPu0hbBWukI0WkIYzD
|
|
72
72
|
wolfhece/apps/curvedigitizer.py,sha256=Yps4bcayzbsz0AoVc_dkSk35dEhhn_esIBy1Ziefgmk,5334
|
73
73
|
wolfhece/apps/isocurrent.py,sha256=dagmGR8ja9QQ1gwz_8fU-N052hIw-W0mWGVkzLu6C7I,4247
|
74
74
|
wolfhece/apps/splashscreen.py,sha256=SrustmIQeXnsiD-92OzjdGhBi-S7c_j-cSvuX4T6rtg,2929
|
75
|
-
wolfhece/apps/version.py,sha256=
|
75
|
+
wolfhece/apps/version.py,sha256=O8ZZomRXgXIg3ep7c52RJmvZUQl3rFlDBMhUIg4HaA4,388
|
76
76
|
wolfhece/apps/wolf.py,sha256=j_CgvsL8rwixbVvVD5Z0s7m7cHZ86gmFLojKGuetMls,729
|
77
77
|
wolfhece/apps/wolf2D.py,sha256=4z_OPQ3IgaLtjexjMKX9ppvqEYyjFLt1hcfFABy3-jU,703
|
78
78
|
wolfhece/apps/wolf_logo.bmp,sha256=ruJ4MA51CpGO_AYUp_dB4SWKHelvhOvd7Q8NrVOjDJk,3126
|
@@ -283,8 +283,8 @@ wolfhece/ui/wolf_multiselection_collapsiblepane.py,sha256=8PlMYrb_8jI8h9F0_EagpM
|
|
283
283
|
wolfhece/ui/wolf_times_selection_comparison_models.py,sha256=ORy7fz4dcp691qKzaOZHrRLZ0uXNhL-LIHxmpDGL6BI,5007
|
284
284
|
wolfhece/wintab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
285
285
|
wolfhece/wintab/wintab.py,sha256=8A-JNONV6ujgsgG3lM5Uw-pVgglPATwKs86oBzzljoc,7179
|
286
|
-
wolfhece-2.1.
|
287
|
-
wolfhece-2.1.
|
288
|
-
wolfhece-2.1.
|
289
|
-
wolfhece-2.1.
|
290
|
-
wolfhece-2.1.
|
286
|
+
wolfhece-2.1.66.dist-info/METADATA,sha256=0sC8b4E0or7Irtp909AReOyaA-51BqdzyVnXFochOoo,2570
|
287
|
+
wolfhece-2.1.66.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
288
|
+
wolfhece-2.1.66.dist-info/entry_points.txt,sha256=Q5JuIWV4odeIJI3qc6fV9MwRoz0ezqPVlFC1Ppm_vdQ,395
|
289
|
+
wolfhece-2.1.66.dist-info/top_level.txt,sha256=EfqZXMVCn7eILUzx9xsEu2oBbSo9liWPFWjIHik0iCI,9
|
290
|
+
wolfhece-2.1.66.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|