wolfhece 2.1.64__py3-none-any.whl → 2.1.65__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 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,7 @@ 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
- 'Left Click and move': _('Drawing : translate the view'),
8536
+ 'LMB and move': _('Drawing : translate the view'),
8532
8537
  'Mouse wheel click and move': _('Drawing : translate the view'),
8533
8538
  'Mouse wheel': _('Drawing : zoom in/out - centered on the middle of the canvas'),
8534
8539
  'Mouse wheel + Space Bar': _('Drawing : zoom in/out - centered on the mouse position'),
@@ -8537,8 +8542,6 @@ class WolfMapViewer(wx.Frame):
8537
8542
  'CTRL + z': _('Drawing : Autoscale only on active array'),
8538
8543
  'CTRL + Z': _('Drawing : Autoscale only on active vector'),
8539
8544
 
8540
- 'Arrow keys': _('Drawing : lateral movements'),
8541
-
8542
8545
  'F5': _('Drawing : autoscale'),
8543
8546
  'F7': _('Drawing : refresh'),
8544
8547
  'Arrows': _('Drawing : lateral movements'),
@@ -8575,6 +8578,7 @@ class WolfMapViewer(wx.Frame):
8575
8578
  'f or F, CTRL+F': _('Zones : search for the polyline in the current zone or in all zones'),
8576
8579
 
8577
8580
  'RETURN': _('Action : End the current action (see also right double-click -- OnRDClick)'),
8581
+ 'Press and Hold CTRL': _('Action : Data Frame follows the mouse cursor'),
8578
8582
 
8579
8583
  'DELETE': _('Tree : Remove item'),
8580
8584
 
wolfhece/apps/version.py CHANGED
@@ -5,7 +5,7 @@ class WolfVersion():
5
5
 
6
6
  self.major = 2
7
7
  self.minor = 1
8
- self.patch = 64
8
+ self.patch = 65
9
9
 
10
10
  def __str__(self):
11
11
 
wolfhece/wolf_array.py CHANGED
@@ -3049,13 +3049,6 @@ class SelectionData():
3049
3049
  # So, if we want to update the plot, we need to apply the flag on each selection (current ans stored)
3050
3050
  update_select = self.update_plot_selection
3051
3051
 
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
3052
  if len(self.selections) > 0:
3060
3053
  # plot stored selections
3061
3054
  for cur in self.selections.values():
@@ -3067,6 +3060,15 @@ class SelectionData():
3067
3060
  float(col[2]) / 255.),
3068
3061
  cur['idgllist'])
3069
3062
 
3063
+
3064
+ if self.myselection != 'all':
3065
+ # plot current selection in RED if not 'all'
3066
+ if len(self.myselection) > 0:
3067
+ self.update_plot_selection = update_select
3068
+ self.numlist_select = self._plot_selection(self.myselection,
3069
+ (1., 0., 0.),
3070
+ self.numlist_select)
3071
+
3070
3072
  def _plot_selection(self, curlist:list[float], color:list[float], loclist:int=0):
3071
3073
  """
3072
3074
  Plot a selection
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wolfhece
3
- Version: 2.1.64
3
+ Version: 2.1.65
4
4
  Author-email: Pierre Archambeau <pierre.archambeau@uliege.be>
5
5
  License: Copyright (c) 2024 University of Liege. All rights reserved.
6
6
  Project-URL: Homepage, https://uee.uliege.be/hece
@@ -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=2yGtt-_3Ufjnk6UxtBpTakAzmPftwG14z78u6MO_3dQ,409306
10
+ wolfhece/PyDraw.py,sha256=fUz1NhX5BHIBwOWeFOt5ubSQjVaL-E9uRkCM_84v9rA,409593
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
@@ -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=igy6c79MXgrM5xxpOjx79f24qSdk40Rgag-vcw0eCKU,375881
51
+ wolfhece/wolf_array.py,sha256=bMDlkb019_yIybYVX6UCAVaCddFRLyiWJxoKwBlJBco,375943
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=8BNTLmLU9-Zp2xRizBpUJsJqqJyTCrg70H6M9f8r7Qw,388
75
+ wolfhece/apps/version.py,sha256=MSfXnG6D4mlxFKhJcFP7QlAfHWaScurZWwVBhbmAPBw,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.64.dist-info/METADATA,sha256=d8dI7ZH5M2kfhZFyr6O71sA6hPjeG9Sy_jhhYzjLG_o,2570
287
- wolfhece-2.1.64.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
288
- wolfhece-2.1.64.dist-info/entry_points.txt,sha256=Q5JuIWV4odeIJI3qc6fV9MwRoz0ezqPVlFC1Ppm_vdQ,395
289
- wolfhece-2.1.64.dist-info/top_level.txt,sha256=EfqZXMVCn7eILUzx9xsEu2oBbSo9liWPFWjIHik0iCI,9
290
- wolfhece-2.1.64.dist-info/RECORD,,
286
+ wolfhece-2.1.65.dist-info/METADATA,sha256=SxpvAVmGTj271sGsiTyfCzK2NYSSX2swU4BnZMJNc40,2570
287
+ wolfhece-2.1.65.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
288
+ wolfhece-2.1.65.dist-info/entry_points.txt,sha256=Q5JuIWV4odeIJI3qc6fV9MwRoz0ezqPVlFC1Ppm_vdQ,395
289
+ wolfhece-2.1.65.dist-info/top_level.txt,sha256=EfqZXMVCn7eILUzx9xsEu2oBbSo9liWPFWjIHik0iCI,9
290
+ wolfhece-2.1.65.dist-info/RECORD,,