mg-pso-gui 0.1.55__py3-none-any.whl → 0.1.57__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.1.55
3
+ Version: 0.1.57
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -31,7 +31,7 @@ mgpsogui/gui/images/stop.png,sha256=JPuxXQerCGpLikcp7cAj3iLCOjULMYYZ2sZe0lArh68,
31
31
  mgpsogui/gui/images/test.png,sha256=MUnVpRK-isxhEHzx4Q6Yh0M6FRZD1qvgCHH2XmiSBbk,3642
32
32
  mgpsogui/gui/images/trash.png,sha256=j8cf0kWbJd-4Jp20lUVV1o1NSeQ4v1Ej4gfcIA3DVRQ,2958
33
33
  mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,2457
34
- mgpsogui/util/GraphGenerator.py,sha256=4_l3D8xESegVmKc8O9mS4GIj4KjxJkh0oauBst7CXAg,14708
34
+ mgpsogui/util/GraphGenerator.py,sha256=024tgb7Yk1Hy64lUbYX0jz437ghrHmCiivKGteXcwKg,15012
35
35
  mgpsogui/util/PSORunner.py,sha256=wfkrZLysgSS_5BrdFEm8U-0S7DHYpxmHPau_Ec5W8ak,4510
36
36
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
37
  mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
@@ -45,8 +45,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
45
45
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
46
46
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
47
47
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
48
- mg_pso_gui-0.1.55.dist-info/METADATA,sha256=rowjRbwyjHeFeePd_7fJHJYBGEviJatWkswPl624JpA,9458
49
- mg_pso_gui-0.1.55.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
50
- mg_pso_gui-0.1.55.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
51
- mg_pso_gui-0.1.55.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
52
- mg_pso_gui-0.1.55.dist-info/RECORD,,
48
+ mg_pso_gui-0.1.57.dist-info/METADATA,sha256=Gpz6vlzpYBV0yVkgof4VzFNBl4MnHAxJwT8LXhfLMYM,9458
49
+ mg_pso_gui-0.1.57.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
50
+ mg_pso_gui-0.1.57.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
51
+ mg_pso_gui-0.1.57.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
52
+ mg_pso_gui-0.1.57.dist-info/RECORD,,
@@ -289,20 +289,23 @@ def custom_csv(homepage, option_manager):
289
289
  val = homepage.csv_y1_selector.get()
290
290
  val2 = homepage.csv_y2_selector.get()
291
291
 
292
+ data_start_index = 2
293
+
292
294
  xx = None
293
295
  if x == "time":
294
- xx = pd.to_datetime(data["time"], format='%Y-%m-%d', errors='coerce').iloc[2:]
296
+ xx = pd.to_datetime(data["time"], format='%Y-%m-%d', errors='coerce').iloc[data_start_index:]
295
297
  elif x == "date":
296
- xx = pd.to_datetime(data["date"], format='%d-%m-%Y', errors='coerce').iloc[2:]
298
+ data_start_index = 5
299
+ xx = pd.to_datetime(data["date"], format='%d-%m-%Y', errors='coerce').iloc[data_start_index:]
297
300
  else:
298
- xx = pd.to_numeric(data[x], errors="coerce").iloc[2:]
301
+ xx = pd.to_numeric(data[x], errors="coerce").iloc[data_start_index:]
299
302
 
300
- yy = pd.to_numeric(data[val], errors="coerce").iloc[2:]
303
+ yy = pd.to_numeric(data[val], errors="coerce").iloc[data_start_index:]
301
304
 
302
305
  #yy_unit = "N/A"
303
306
  yy_unit = data[val].iloc[1]
304
307
 
305
- yy2 = pd.to_numeric(data[val2], errors="coerce").iloc[2:]
308
+ yy2 = pd.to_numeric(data[val2], errors="coerce").iloc[data_start_index:]
306
309
 
307
310
  #yy2_unit = "N/A"
308
311
  yy2_unit = data[val2].iloc[1]
@@ -360,30 +363,33 @@ def compare_csv(homepage, option_manager):
360
363
  val = homepage.csv_y1_selector.get()
361
364
  val2 = homepage.csv_y2_selector.get()
362
365
 
366
+ data_start_index = 2
367
+ data_start_index2 = 2
368
+
363
369
  xx = None
364
370
  if x == "time":
365
- xx = pd.to_datetime(data["time"], format='%Y-%m-%d', errors='coerce').iloc[2:]
371
+ xx = pd.to_datetime(data["time"], format='%Y-%m-%d', errors='coerce').iloc[data_start_index:]
366
372
  elif x == "date":
367
- xx = pd.to_datetime(data["date"], format='%d-%m-%Y', errors='coerce').iloc[2:]
373
+ data_start_index = 5
374
+ xx = pd.to_datetime(data["date"], format='%d-%m-%Y', errors='coerce').iloc[data_start_index:]
368
375
  else:
369
- xx = pd.to_numeric(data[x], errors="coerce").iloc[2:]
376
+ xx = pd.to_numeric(data[x], errors="coerce").iloc[data_start_index:]
370
377
 
371
- yy = pd.to_numeric(data[val], errors="coerce").iloc[2:]
378
+ yy = pd.to_numeric(data[val], errors="coerce").iloc[data_start_index:]
372
379
 
373
380
  xx2 = None
374
381
  if x == "time":
375
- xx2 = pd.to_datetime(data2["time"], format='%Y-%m-%d', errors='coerce').iloc[2:]
382
+ xx2 = pd.to_datetime(data2["time"], format='%Y-%m-%d', errors='coerce').iloc[data_start_index2:]
376
383
  elif x == "date":
377
- xx2 = pd.to_datetime(data2["date"], format='%d-%m-%Y', errors='coerce').iloc[2:]
384
+ data_start_index2 = 5
385
+ xx2 = pd.to_datetime(data2["date"], format='%d-%m-%Y', errors='coerce').iloc[data_start_index2:]
378
386
  else:
379
- xx2 = pd.to_numeric(data2[x], errors="coerce").iloc[2:]
380
-
381
- yy = pd.to_numeric(data[val], errors="coerce").iloc[2:]
387
+ xx2 = pd.to_numeric(data2[x], errors="coerce").iloc[data_start_index2:]
382
388
 
383
389
  #yy_unit = "N/A"
384
390
  yy_unit = data[val].iloc[1]
385
391
 
386
- yy2 = pd.to_numeric(data2[val2], errors="coerce").iloc[2:]
392
+ yy2 = pd.to_numeric(data2[val2], errors="coerce").iloc[data_start_index2:]
387
393
 
388
394
  #yy2_unit = "N/A"
389
395
  yy2_unit = data2[val2].iloc[1]