PaIRS-UniNa 0.2.5__cp312-cp312-win_amd64.whl → 0.2.8__cp312-cp312-win_amd64.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.
Files changed (54) hide show
  1. PaIRS_UniNa/Changes.txt +45 -2
  2. PaIRS_UniNa/Explorer.py +3126 -3059
  3. PaIRS_UniNa/FolderLoop.py +561 -371
  4. PaIRS_UniNa/Input_Tab.py +826 -714
  5. PaIRS_UniNa/Input_Tab_CalVi.py +15 -17
  6. PaIRS_UniNa/Input_Tab_tools.py +3019 -3017
  7. PaIRS_UniNa/Output_Tab.py +2 -4
  8. PaIRS_UniNa/PaIRS.py +17 -17
  9. PaIRS_UniNa/PaIRS_pypacks.py +227 -56
  10. PaIRS_UniNa/Process_Tab.py +2 -2
  11. PaIRS_UniNa/Process_Tab_Disp.py +1 -1
  12. PaIRS_UniNa/Saving_tools.py +277 -277
  13. PaIRS_UniNa/TabTools.py +7 -4
  14. PaIRS_UniNa/Vis_Tab.py +129 -60
  15. PaIRS_UniNa/Whatsnew.py +15 -3
  16. PaIRS_UniNa/_PaIRS_PIV.pyd +0 -0
  17. PaIRS_UniNa/__init__.py +4 -4
  18. PaIRS_UniNa/addwidgets_ps.py +28 -20
  19. PaIRS_UniNa/calibView.py +7 -0
  20. PaIRS_UniNa/gPaIRS.py +3889 -3745
  21. PaIRS_UniNa/icons/flaticon_PaIRS_download_warning.png +0 -0
  22. PaIRS_UniNa/icons/folder_loop_cleanup.png +0 -0
  23. PaIRS_UniNa/icons/folder_loop_cleanup_off.png +0 -0
  24. PaIRS_UniNa/icons/pencil_bw.png +0 -0
  25. PaIRS_UniNa/icons/scan_path_loop.png +0 -0
  26. PaIRS_UniNa/icons/scan_path_loop_off.png +0 -0
  27. PaIRS_UniNa/listLib.py +301 -301
  28. PaIRS_UniNa/parForMulti.py +433 -433
  29. PaIRS_UniNa/pivParFor.py +1 -1
  30. PaIRS_UniNa/procTools.py +51 -3
  31. PaIRS_UniNa/rqrdpckgs.txt +6 -5
  32. PaIRS_UniNa/stereoPivParFor.py +1 -1
  33. PaIRS_UniNa/tabSplitter.py +606 -606
  34. PaIRS_UniNa/ui_Calibration_Tab.py +542 -542
  35. PaIRS_UniNa/ui_Custom_Top.py +294 -294
  36. PaIRS_UniNa/ui_Input_Tab.py +1098 -1098
  37. PaIRS_UniNa/ui_Input_Tab_CalVi.py +1280 -1280
  38. PaIRS_UniNa/ui_Log_Tab.py +261 -261
  39. PaIRS_UniNa/ui_Output_Tab.py +2360 -2360
  40. PaIRS_UniNa/ui_Process_Tab.py +3808 -3808
  41. PaIRS_UniNa/ui_Process_Tab_CalVi.py +1547 -1547
  42. PaIRS_UniNa/ui_Process_Tab_Disp.py +1139 -1139
  43. PaIRS_UniNa/ui_Process_Tab_Min.py +435 -435
  44. PaIRS_UniNa/ui_ResizePopup.py +203 -203
  45. PaIRS_UniNa/ui_Vis_Tab.py +1626 -1626
  46. PaIRS_UniNa/ui_Vis_Tab_CalVi.py +1249 -1249
  47. PaIRS_UniNa/ui_Whatsnew.py +131 -131
  48. PaIRS_UniNa/ui_gPairs.py +873 -867
  49. PaIRS_UniNa/ui_infoPaIRS.py +550 -550
  50. PaIRS_UniNa/whatsnew.txt +4 -4
  51. {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/METADATA +31 -17
  52. {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/RECORD +54 -48
  53. {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/WHEEL +0 -0
  54. {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/top_level.txt +0 -0
@@ -34,10 +34,12 @@ button_tips={
34
34
  }
35
35
  combo_tips={}
36
36
  class INPpar_CalVi(TABpar):
37
+ pathCompleter=basefold_DEBUGOptions
38
+
37
39
  def __init__(self,Process=ProcessTypes.null,Step=StepTypes.null):
38
40
  self.setup(Process,Step)
39
41
  super().__init__('INPpar_CalVi','Input_CalVi')
40
- self.unchecked_fields+=['OptionValidPath','OptionValidPathOut','OptionValidRootOut','row','col','rows','cols']
42
+ self.unchecked_fields+=['OptionValidPath','OptionValidPathOut','OptionValidRootOut','row','col','rows','cols','pathCompleter']
41
43
 
42
44
  def setup(self,Process,Step):
43
45
  self.Process = Process
@@ -79,8 +81,6 @@ class INPpar_CalVi(TABpar):
79
81
 
80
82
  self.errorMessage = ''
81
83
  self.FlagReadCalib = False
82
-
83
- self.pathCompleter=basefold_DEBUGOptions
84
84
 
85
85
  class Input_Tab_CalVi(gPaIRS_Tab):
86
86
 
@@ -290,13 +290,13 @@ class Input_Tab_CalVi(gPaIRS_Tab):
290
290
  def line_edit_path_preaction(self):
291
291
  currpath=myStandardPath(self.ui.line_edit_path.text())
292
292
  self.FlagScanPath=os.path.normpath(self.INPpar.path)!=currpath
293
- directory_path = myStandardPath(os.getcwd())
294
- if directory_path in currpath:
295
- currpath=currpath.replace(directory_path,'./')
296
- if os.path.exists(currpath):
297
- if currpath in self.INPpar.pathCompleter: self.INPpar.pathCompleter.remove(currpath)
298
- self.INPpar.pathCompleter.insert(0,currpath)
299
- if len(self.INPpar.pathCompleter)>10: self.INPpar.pathCompleter=self.INPpar.pathCompleter[:10]
293
+ currpath=relativizePath(currpath)
294
+ if os.path.exists(currpath) and currpath!='./':
295
+ pathCompleter=INPpar_CalVi.pathCompleter
296
+ if currpath in pathCompleter: pathCompleter.remove(currpath)
297
+ pathCompleter.insert(0,currpath)
298
+ if len(pathCompleter)>pathCompleterLength:
299
+ INPpar_CalVi.pathCompleter=pathCompleter[:pathCompleterLength]
300
300
  self.ui.line_edit_path.setText(currpath)
301
301
 
302
302
  def button_path_action(self):
@@ -311,7 +311,7 @@ class Input_Tab_CalVi(gPaIRS_Tab):
311
311
 
312
312
  def line_edit_cameras_action(self):
313
313
  text=self.ui.line_edit_cameras.text()
314
- split_text=re.findall('(\d+)', text)
314
+ split_text=re.findall(r'(\d+)', text)
315
315
  self.INPpar.cams=[]
316
316
  for s in split_text:
317
317
  i=int(s)
@@ -365,7 +365,7 @@ class Input_Tab_CalVi(gPaIRS_Tab):
365
365
  f=os.path.basename(filename)
366
366
  FlagWarn=False
367
367
  if self.INPpar.FlagCam:
368
- fsplitted=re.split('_cam\d+', f)
368
+ fsplitted=re.split(r'_cam\d+', f)
369
369
  if len(fsplitted)>1:
370
370
  fsplitted.insert(-1,'_cam*')
371
371
  f="".join(fsplitted)
@@ -508,7 +508,7 @@ class Input_Tab_CalVi(gPaIRS_Tab):
508
508
  if self.INPpar.FlagCam and len(self.INPpar.cams)==0:
509
509
  ncam=0
510
510
  for f in self.INPpar.filenames:
511
- pats=re.findall('_cam\d+', f)
511
+ pats=re.findall(r'_cam\d+', f)
512
512
  if len(pats):
513
513
  ncam=int(pats[-1].replace("_cam",""))
514
514
  break
@@ -534,7 +534,7 @@ class Input_Tab_CalVi(gPaIRS_Tab):
534
534
  if self.INPpar.FlagCam:
535
535
  for k,f in enumerate(self.INPpar.filenames):
536
536
  if '_cam*' in f: continue
537
- fsplitted=re.split('_cam\d+', f)
537
+ fsplitted=re.split(r'_cam\d+', f)
538
538
  fsplitted.insert(-1,'_cam*')
539
539
  f="".join(fsplitted)
540
540
  self.INPpar.filenames[k]=f
@@ -691,9 +691,7 @@ class Input_Tab_CalVi(gPaIRS_Tab):
691
691
 
692
692
  def line_edit_path_out_preaction(self):
693
693
  currpath=myStandardPath(self.ui.line_edit_path_out.text())
694
- directory_path = myStandardPath(os.getcwd())
695
- if directory_path in currpath:
696
- currpath=currpath.replace(directory_path,'./')
694
+ currpath=relativizePath(currpath)
697
695
  self.ui.line_edit_path_out.setText(currpath)
698
696
 
699
697
  def button_path_out_action(self):