mg-pso-gui 0.0.204__py3-none-any.whl → 0.0.206__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.0.204
3
+ Version: 0.0.206
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,7 +1,7 @@
1
1
  mgpsogui/__init__.py,sha256=q7AfBjeJABnFtbsZnsObpUwaXKPDVYtz46G6MKXLF74,42
2
2
  mgpsogui/mgpsogui.py,sha256=NIZmyNcbwC8EgSwf1ubdMUSJscrIEgoD4jLYziqHQ-k,148
3
3
  mgpsogui/start.yaml,sha256=ZjCVLb-MLqAxrGRm9kA7_SDpa-45EuKIELNQ2QqCAiU,4713
4
- mgpsogui/gui/HomePage.py,sha256=y-JaEqOLCBhLREZ9Ld_mjtQ9AC94WPBeDfc4448ZUjM,25523
4
+ mgpsogui/gui/HomePage.py,sha256=0b_i-Iwe__LbY5cVba2B3WnOexWsNoi1vNaJ48gECdQ,25559
5
5
  mgpsogui/gui/OptionManager.py,sha256=bFN2jWJbx1Din3waOFLmbWGt0BXD_KthGJ8Mgue_FEE,11712
6
6
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=KyIoHlMKD9nfQqHeGJwRDA4RCoe4UykjB2l6xMTKK_M,10486
@@ -30,12 +30,12 @@ mgpsogui/gui/images/stop.png,sha256=JPuxXQerCGpLikcp7cAj3iLCOjULMYYZ2sZe0lArh68,
30
30
  mgpsogui/gui/images/trash.png,sha256=j8cf0kWbJd-4Jp20lUVV1o1NSeQ4v1Ej4gfcIA3DVRQ,2958
31
31
  mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,2457
32
32
  mgpsogui/util/GraphGenerator.py,sha256=hEPhka0ZKQJ9DSSywDfwoXFQMsk3RHyG8QyTLOQnN4M,7851
33
- mgpsogui/util/PSORunner.py,sha256=OOVomWTHyiRyZt1SFo7yUtoyMce3o88b0d5JYIC47bU,6715
33
+ mgpsogui/util/PSORunner.py,sha256=jYsOBGR-Mu1cN0JTE6R-Wa3UWUxIufCbM9jZxpFPwwI,6706
34
34
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
35
  mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
36
36
  mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MOYL2ifolvOE,6329
37
- mg_pso_gui-0.0.204.dist-info/METADATA,sha256=GcOITWBpKv-G8HXzMAHg5Jk4jf86YFFQrLf7SJWs-Ec,9459
38
- mg_pso_gui-0.0.204.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
39
- mg_pso_gui-0.0.204.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
40
- mg_pso_gui-0.0.204.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
41
- mg_pso_gui-0.0.204.dist-info/RECORD,,
37
+ mg_pso_gui-0.0.206.dist-info/METADATA,sha256=90b9vb-OC6YL_9ETVHb8Zf_vb3Ic45iyVH--IQ7VqRM,9459
38
+ mg_pso_gui-0.0.206.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
39
+ mg_pso_gui-0.0.206.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
40
+ mg_pso_gui-0.0.206.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
41
+ mg_pso_gui-0.0.206.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -413,9 +413,9 @@ class App(customtkinter.CTk):
413
413
  try:
414
414
  stdout_line = stdout_queue.get_nowait()
415
415
 
416
- print(">" + stdout_line)
417
- with open(os.path.join(folder, 'output.txt'), 'a') as f:
418
- f.write(stdout_line)
416
+ print("#" + stdout_line)
417
+ #with open(os.path.join(folder, 'output.txt'), 'a') as f:
418
+ # f.write(stdout_line)
419
419
 
420
420
  except Empty:
421
421
  break
@@ -424,9 +424,9 @@ class App(customtkinter.CTk):
424
424
  try:
425
425
  stderr_line = stderr_queue.get_nowait()
426
426
 
427
- print(">" + stderr_line)
428
- with open(os.path.join(folder, 'error.txt'), 'a') as f:
429
- f.write(stderr_line)
427
+ print("?" + stderr_line)
428
+ #with open(os.path.join(folder, 'error.txt'), 'a') as f:
429
+ # f.write(stderr_line)
430
430
 
431
431
  except Empty:
432
432
  break
@@ -532,6 +532,7 @@ class App(customtkinter.CTk):
532
532
  self.after(1000, self.watch_loop)
533
533
  else:
534
534
  # Check if queue is empty
535
+ """
535
536
  if (self.process_queue.empty()):
536
537
  print("PROCESS FINISHED BUT WE GOT NO OBJECTS :(")
537
538
  self.footer_progress_label.configure(text="Failed")
@@ -540,6 +541,7 @@ class App(customtkinter.CTk):
540
541
  print("PROCESS FINISHED WE GOT THINGS")
541
542
  print(self.final_results)
542
543
  self.footer_progress_label.configure(text="Finished")
544
+ """
543
545
 
544
546
  #self.progress_bar.stop()
545
547
  self.footer_progress_bar.stop()
@@ -33,7 +33,6 @@ def run_process(stdout_queue, stderr_queue, results_queue, data, folder):
33
33
 
34
34
  if (os.path.exists(os.path.join(folder, 'error.txt'))):
35
35
  os.remove(os.path.join(folder, 'error.txt'))
36
-
37
36
 
38
37
  old_stdout = sys.stdout
39
38
  old_stderr = sys.stderr