drap 0.0.3.post7__py3-none-any.whl → 0.0.3.post8__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.
drap/utils.py CHANGED
@@ -215,11 +215,13 @@ class ImageCropper(QMainWindow):
215
215
  QMessageBox.warning(self, 'Warning', 'No video selected.')
216
216
  return
217
217
 
218
- self.file_path = os.path.normpath(self.file_path)
219
- self.file_path = QFileInfo(self.file_path).fileName();
220
- self.file_path = Path(self.file_path);
221
- self.file_path = self.file_path.resolve();
222
- self.file_path = os.path.normpath(self.file_path);
218
+ self.file_path = os.path.normpath(str(Path(self.file_path).expanduser().resolve()))
219
+
220
+ # self.file_path = os.path.normpath(self.file_path)
221
+ # self.file_path = QFileInfo(self.file_path).fileName();
222
+ # self.file_path = Path(self.file_path);
223
+ # self.file_path = self.file_path.resolve();
224
+ # self.file_path = os.path.normpath(self.file_path);
223
225
 
224
226
  video = cv2.VideoCapture(self.file_path);
225
227
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: drap
3
- Version: 0.0.3.post7
3
+ Version: 0.0.3.post8
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
@@ -34,16 +34,16 @@ The graphical user interface provides:
34
34
 
35
35
  Install:
36
36
 
37
- python -m venv venv
37
+ python -m venv venv
38
38
 
39
- source venv/bin/activate
39
+ source venv/bin/activate
40
40
 
41
- pip install drap
41
+ pip install drap
42
42
 
43
43
  Use:
44
44
 
45
- drap -o 1 (Gui interface)
45
+ drap -o 1 (Gui interface)
46
46
 
47
- drap -o 2 (Terminal interface)
47
+ drap -o 2 (Terminal interface)
48
48
 
49
- drap -o 3 (Automatic file: name_videos.dat)
49
+ drap -o 3 (Automatic file: name_videos.dat)
@@ -4,10 +4,10 @@ drap/gui.py,sha256=LzBBQwFiF6IcOZfBkWB6wnKsBKD-v-6Un8VoJMG7eKU,1553
4
4
  drap/main.py,sha256=IBMQp932Qd6aBSeWCoQH2MQhMtmEU_yZKOsUO_U9Wmk,1201
5
5
  drap/qt_adjust.py,sha256=K4lqMC7aZ8RlcA65BIVtftRoZWY9OVrAQQP-IHN2f_E,875
6
6
  drap/terminal_interface.py,sha256=vCnobMdtxKvCUaFsu0fWmChd65a-Osn41LdMtSdMdO4,2201
7
- drap/utils.py,sha256=5IIjrGB4MBR2FX6Gdh7rCYJOZpGSFn8eTj0g3yPaHxU,66804
8
- drap-0.0.3.post7.dist-info/licenses/LICENSE,sha256=iHcEhVN-5ifqXsDa1Ny38sIBS7SJ9-eYJQRtHiJ3QU0,1098
9
- drap-0.0.3.post7.dist-info/METADATA,sha256=1RABw2n4uyrNMlQr-GkTaxlHzQHPCYqGquu5F1BQdTg,1367
10
- drap-0.0.3.post7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
- drap-0.0.3.post7.dist-info/entry_points.txt,sha256=8AnGrT_RVCkh26SYRqjRTbstT4BMuOO68qRFqPfPr8M,69
12
- drap-0.0.3.post7.dist-info/top_level.txt,sha256=jYMnBoijRdvPMYoMlILxlRNbSdKUX3_uwMa7DLRE4zE,5
13
- drap-0.0.3.post7.dist-info/RECORD,,
7
+ drap/utils.py,sha256=Zu7eOqRfH7ZWrSFU-iccAU9WerjMK9Y8MakZDGx8snQ,66915
8
+ drap-0.0.3.post8.dist-info/licenses/LICENSE,sha256=iHcEhVN-5ifqXsDa1Ny38sIBS7SJ9-eYJQRtHiJ3QU0,1098
9
+ drap-0.0.3.post8.dist-info/METADATA,sha256=EPs3_1-sR-q3ZpjgerUqWiWu7hb6FDDTo7xGQ49NN0U,1391
10
+ drap-0.0.3.post8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
+ drap-0.0.3.post8.dist-info/entry_points.txt,sha256=8AnGrT_RVCkh26SYRqjRTbstT4BMuOO68qRFqPfPr8M,69
12
+ drap-0.0.3.post8.dist-info/top_level.txt,sha256=jYMnBoijRdvPMYoMlILxlRNbSdKUX3_uwMa7DLRE4zE,5
13
+ drap-0.0.3.post8.dist-info/RECORD,,