drap 0.0.3.post8__tar.gz → 0.0.3.post9__tar.gz

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,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: drap
3
- Version: 0.0.3.post8
3
+ Version: 0.0.3.post9
4
4
  Summary: Tool for analyzing droplet size and concentration using video and EDF images
5
5
  Author-email: "Gabriel Braga Marques Teobaldo, Oleg Prymak, Natalie Wolff, Matthias Epple, Marco Aurélio Brizzotti Andrade, Cássio Alves and Cristiano Luis Pinto de Oliveira" <alves.casssio@gmail.com>
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://test.pypi.org/project/DrAP/
8
8
  Project-URL: Source, https://test.pypi.org/project/DrAP/
9
9
  Keywords: saxs,x-ray,edf,opencv,pyqt5,droplet
10
- Requires-Python: >=3.8
10
+ Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
13
  Requires-Dist: opencv-python-headless>=4.9
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "drap"
7
- version = "0.0.3.post8"
7
+ version = "0.0.3.post9"
8
8
  description = "Tool for analyzing droplet size and concentration using video and EDF images"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
11
11
  authors = [{ name = "Gabriel Braga Marques Teobaldo, Oleg Prymak, Natalie Wolff, Matthias Epple, Marco Aurélio Brizzotti Andrade, Cássio Alves and Cristiano Luis Pinto de Oliveira", email = "alves.casssio@gmail.com" }]
12
- requires-python = ">=3.8"
12
+ requires-python = ">=3.10"
13
13
 
14
14
  dependencies = [
15
15
  "opencv-python-headless>=4.9",
@@ -2,7 +2,9 @@
2
2
  import os
3
3
  from PyQt5.QtCore import QLibraryInfo, QCoreApplication
4
4
 
5
- def fix_qt_plugin_paths(prefer_platform: str | None = None) -> None:
5
+ from typing import Optional
6
+
7
+ def fix_qt_plugin_paths(prefer_platform: Optional[str] = None) -> None:
6
8
 
7
9
  os.environ.pop("QT_QPA_PLATFORM_PLUGIN_PATH", None)
8
10
  os.environ.pop("QT_PLUGIN_PATH", None)
@@ -59,7 +59,7 @@ class ImageCropper(QMainWindow):
59
59
  print("teste")
60
60
 
61
61
 
62
- self.setWindowTitle('Analysis droplet parameters.')
62
+ self.setWindowTitle('Analysis Droplet Parameters')
63
63
  self.setGeometry(100, 100, 1200, 600)
64
64
 
65
65
  # Criar um widget central e configurar o layout
@@ -91,7 +91,7 @@ class ImageCropper(QMainWindow):
91
91
 
92
92
 
93
93
  # Create a button to crop the image
94
- self.crop_button = QPushButton('Cut Image', self)
94
+ self.crop_button = QPushButton('Crop Image', self)
95
95
  self.controls_layout.addWidget(self.crop_button)
96
96
  self.crop_button.clicked.connect(self.crop_image)
97
97
 
@@ -179,12 +179,12 @@ class ImageCropper(QMainWindow):
179
179
 
180
180
 
181
181
  #Create a button to choose the directory and upload an image
182
- self.load_directory_button = QPushButton('Concatene edf files samples and background ', self)
182
+ self.load_directory_button = QPushButton('Match files from samples and background', self)
183
183
  self.controls_layout.addWidget(self.load_directory_button)
184
184
  self.load_directory_button.clicked.connect(self.contate_sort_images_edf_size_drop)
185
185
 
186
186
  # Checkbox para opção extra
187
- self.check_option = QCheckBox("Print PDF with images", self)
187
+ self.check_option = QCheckBox("Print a PDF with images", self)
188
188
  self.check_option.setChecked(False) # desmarcado por padrão
189
189
  self.controls_layout.addWidget(self.check_option)
190
190
 
@@ -378,7 +378,7 @@ class ImageCropper(QMainWindow):
378
378
  save_path = Path(save_path);
379
379
  save_path = save_path.resolve();
380
380
  save_path = os.path.normpath(save_path);
381
- save_path = os.path.join(save_path, 'image_cuted.png');
381
+ save_path = os.path.join(save_path, 'image_croped.png');
382
382
  save_path = os.path.normpath(save_path);
383
383
  os.makedirs(os.path.dirname(save_path), exist_ok=True)
384
384
  if save_path:
@@ -461,7 +461,7 @@ class ImageCropper(QMainWindow):
461
461
  save_path = Path(save_path);
462
462
  save_path = save_path.resolve();
463
463
  save_path = os.path.normpath(save_path);
464
- save_path = os.path.join(save_path, 'data_image_cuted.txt');
464
+ save_path = os.path.join(save_path, 'data_image_croped.txt');
465
465
  os.makedirs(os.path.dirname(save_path), exist_ok=True)
466
466
  if save_path:
467
467
  with open(save_path, 'w') as file:
@@ -1551,7 +1551,7 @@ def save_data_edf(data_in, output_file, option):
1551
1551
 
1552
1552
  file_op = open(output_file, "w", encoding='utf-8');
1553
1553
 
1554
- if option == 0: file_op.write("Frame, dropDX(mm), dropDY(mm), surface(mm^2), Volume(\u03bcL),RelativeConcentration(%), date, time(s), time(min)\n")
1554
+ if option == 0: file_op.write("Frame, dropDX(mm), dropDY(mm), surface(mm^2), RelativeConcentration(%), date, time(s)\n")
1555
1555
  else: file_op.write("Frame, date, time(s) \n")
1556
1556
 
1557
1557
  for i_data in data_in:
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: drap
3
- Version: 0.0.3.post8
3
+ Version: 0.0.3.post9
4
4
  Summary: Tool for analyzing droplet size and concentration using video and EDF images
5
5
  Author-email: "Gabriel Braga Marques Teobaldo, Oleg Prymak, Natalie Wolff, Matthias Epple, Marco Aurélio Brizzotti Andrade, Cássio Alves and Cristiano Luis Pinto de Oliveira" <alves.casssio@gmail.com>
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://test.pypi.org/project/DrAP/
8
8
  Project-URL: Source, https://test.pypi.org/project/DrAP/
9
9
  Keywords: saxs,x-ray,edf,opencv,pyqt5,droplet
10
- Requires-Python: >=3.8
10
+ Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
13
  Requires-Dist: opencv-python-headless>=4.9
File without changes
File without changes
File without changes
File without changes
File without changes