wolfhece 2.1.2__py3-none-any.whl → 2.1.3__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
@@ -3141,7 +3141,7 @@ class WolfMapViewer(wx.Frame):
3141
3141
  if cur is not self:
3142
3142
  cur.update()
3143
3143
 
3144
- def zoom_on_id(self, id:str, draw_type:draw_type = draw_type.ARRAYS, forceupdate=True, canvas_height=1024):
3144
+ def zoom_on_id(self, id:str, drawtype:draw_type = draw_type.ARRAYS, forceupdate=True, canvas_height=1024):
3145
3145
  """
3146
3146
  Zoom on id
3147
3147
 
@@ -3150,19 +3150,19 @@ class WolfMapViewer(wx.Frame):
3150
3150
 
3151
3151
  """
3152
3152
 
3153
- if draw_type not in [draw_type.ARRAYS, draw_type.VECTORS]:
3153
+ if drawtype not in [draw_type.ARRAYS, draw_type.VECTORS]:
3154
3154
  logging.warning(_('Draw type must be either ARRAYS or VECTORS'))
3155
3155
  return
3156
3156
 
3157
- obj = self.get_obj_from_id(id, draw_type)
3157
+ obj = self.get_obj_from_id(id, drawtype)
3158
3158
 
3159
3159
  if obj is None:
3160
- logging.warning(_('No object found with id {} and drawtype {}'.format(id, draw_type)))
3160
+ logging.warning(_('No object found with id {} and drawtype {}'.format(id, drawtype)))
3161
3161
  return
3162
3162
 
3163
- if draw_type == draw_type.ARRAYS:
3163
+ if drawtype == draw_type.ARRAYS:
3164
3164
  self.zoom_on_array(obj, forceupdate=forceupdate, canvas_height=canvas_height)
3165
- elif draw_type == draw_type.VECTORS:
3165
+ elif drawtype == draw_type.VECTORS:
3166
3166
  self.zoom_on_vector(obj, forceupdate=forceupdate, canvas_height=canvas_height)
3167
3167
 
3168
3168
  def zoom_on_array(self, array:WolfArray, forceupdate=True, canvas_height=1024):
@@ -6129,11 +6129,11 @@ class WolfMapViewer(wx.Frame):
6129
6129
 
6130
6130
  """
6131
6131
 
6132
- keys = self.get_list_keys(draw_type, checked_state=None)
6132
+ keys = self.get_list_keys(drawtype, checked_state=None)
6133
6133
  if id.lower() in keys:
6134
6134
  try:
6135
6135
  idx = keys.index(id.lower())
6136
- return self.get_list_objects(draw_type, checked_state=None)[idx]
6136
+ return self.get_list_objects(drawtype, checked_state=None)[idx]
6137
6137
  except:
6138
6138
  return None
6139
6139
 
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 = 2
8
+ self.patch = 3
9
9
 
10
10
  def __str__(self):
11
11
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wolfhece
3
- Version: 2.1.2
3
+ Version: 2.1.3
4
4
  Author-email: Pierre Archambeau <pierre.archambeau@uliege.be>
5
5
  License: AGPL-v3 License
6
6
  Project-URL: Homepage, https://uee.uliege.be/hece
@@ -6,7 +6,7 @@ wolfhece/ManageParams.py,sha256=Wgt5Zh7QBtyiwTAltPHunSLqt4XuVuRH76GTUrXabS4,219
6
6
  wolfhece/Model1D.py,sha256=-cMz-ePSYzrKVVDidiDOz6cojEZ3y6u9gIb7RPwT6Y8,476593
7
7
  wolfhece/PyConfig.py,sha256=oGSL1WsLM9uinlNP4zGBLK3uHPmBfduUi7R-VtWuRFA,8034
8
8
  wolfhece/PyCrosssections.py,sha256=f4dNYRUGZKePruaaBiTcn5vlrw8TFTj9XwTDrdiF_uU,112450
9
- wolfhece/PyDraw.py,sha256=IOw6MBqsBCgsgmlomqRpPPscb27lapkCx6_tfvnZFh0,376860
9
+ wolfhece/PyDraw.py,sha256=2pGgV1VwE-zfCiJnrPbJrjKfCG41ARhGTo_sF_kpd-s,376852
10
10
  wolfhece/PyGui.py,sha256=TTRvqRiZ0gTaxOfDTMVLFYQ56QvdDMS032fRXcXxvUs,104024
11
11
  wolfhece/PyGuiHydrology.py,sha256=wKhR-KthPRyzJ887NmsozmUpm2CIQIwO3IbYORCYjrE,7290
12
12
  wolfhece/PyHydrographs.py,sha256=GKK8U0byI45H9O_e4LAOOi7Aw0Tg7Q0Lx322stPg5IQ,3453
@@ -66,7 +66,7 @@ wolfhece/apps/check_install.py,sha256=jrKR-njqnpIh6ZJqvP6KbDUPVCfwTNQj4glQhcyzs9
66
66
  wolfhece/apps/curvedigitizer.py,sha256=avWERHuVxPnJBOD_ibczwW_XG4vAenqWS8W1zjhBox8,4898
67
67
  wolfhece/apps/isocurrent.py,sha256=4XnNWPa8mYUK7V4zdDRFrHFIXNG2AN2og3TqWKKcqjY,3811
68
68
  wolfhece/apps/splashscreen.py,sha256=m9hMTqzhSUcTudApyNNjoAK9e2u5vgEkJVV79xmfM1s,2118
69
- wolfhece/apps/version.py,sha256=8FWwKWXkTZJMeOYjVCu-NBqI7zTtYTAJV6YcWW87LJE,387
69
+ wolfhece/apps/version.py,sha256=Or-ozTUagYZHC8C-Y56TsIQ5c1jVkNiIlxclTgBDkSc,387
70
70
  wolfhece/apps/wolf.py,sha256=gqfm-ZaUJqNsfCzmdtemSeqLw-GVdSVix-evg5WArJI,293
71
71
  wolfhece/apps/wolf2D.py,sha256=gWD9ee2-1pw_nUxjgRaJMuSe4kUT-RWhOeoTt_Lh1mM,267
72
72
  wolfhece/apps/wolf_logo.bmp,sha256=ruJ4MA51CpGO_AYUp_dB4SWKHelvhOvd7Q8NrVOjDJk,3126
@@ -264,8 +264,8 @@ wolfhece/sounds/sonsw2.wav,sha256=pFLVt6By0_EPQNt_3KfEZ9a1uSuYTgQSX1I_Zurv9Rc,11
264
264
  wolfhece/ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
265
265
  wolfhece/ui/wolf_multiselection_collapsiblepane.py,sha256=yGbU_JsF56jsmms0gh7mxa7tbNQ_SxqhpAZxhm-mTy4,14860
266
266
  wolfhece/ui/wolf_times_selection_comparison_models.py,sha256=wCxGRnE3kzEkWlWA6-3X8ADOFux_B0a5QWJ2GnXTgJw,4709
267
- wolfhece-2.1.2.dist-info/METADATA,sha256=rIXLM3y8Jweh0AI8rdzYq-iDSgIdL7Y53wNqzzRfm-Q,2281
268
- wolfhece-2.1.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
269
- wolfhece-2.1.2.dist-info/entry_points.txt,sha256=AIu1KMswrdsqNq_2jPtrRIU4tLjuTnj2dCY-pxIlshw,276
270
- wolfhece-2.1.2.dist-info/top_level.txt,sha256=EfqZXMVCn7eILUzx9xsEu2oBbSo9liWPFWjIHik0iCI,9
271
- wolfhece-2.1.2.dist-info/RECORD,,
267
+ wolfhece-2.1.3.dist-info/METADATA,sha256=LvZPcQCsOcMiJYf7lSYhlTHa29Ld57npIH4HZCqx3fU,2281
268
+ wolfhece-2.1.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
269
+ wolfhece-2.1.3.dist-info/entry_points.txt,sha256=AIu1KMswrdsqNq_2jPtrRIU4tLjuTnj2dCY-pxIlshw,276
270
+ wolfhece-2.1.3.dist-info/top_level.txt,sha256=EfqZXMVCn7eILUzx9xsEu2oBbSo9liWPFWjIHik0iCI,9
271
+ wolfhece-2.1.3.dist-info/RECORD,,