boris-behav-obs 8.25.2__py2.py3-none-any.whl → 8.25.3__py2.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.
boris/config_file.py CHANGED
@@ -47,7 +47,7 @@ def read(self):
47
47
  self.config_param = settings.value("config")
48
48
  except Exception:
49
49
  self.config_param = None
50
- pass
50
+
51
51
  if self.config_param is None:
52
52
  self.config_param = cfg.INIT_PARAM
53
53
 
@@ -316,6 +316,8 @@ def save(self, lastCheckForNewVersion=0):
316
316
 
317
317
  settings = QSettings(str(file_path), QSettings.IniFormat)
318
318
 
319
+ print(f"{self.config_param=}")
320
+
319
321
  settings.setValue("config", self.config_param)
320
322
 
321
323
  settings.setValue("geometry", self.saveGeometry())
boris/core.py CHANGED
@@ -456,11 +456,10 @@ class MainWindow(QMainWindow, Ui_MainWindow):
456
456
  # self.twEvents.setItemDelegate(events_cursor.StyledItemDelegateTriangle(self.events_current_row))
457
457
  self.tv_events.setItemDelegate(events_cursor.StyledItemDelegateTriangle(self.events_current_row))
458
458
 
459
- self.config_param = cfg.INIT_PARAM
460
-
461
- menu_options.update_menu(self)
462
459
  connections.connections(self)
460
+ self.config_param = cfg.INIT_PARAM
463
461
  config_file.read(self)
462
+ menu_options.update_menu(self)
464
463
 
465
464
  def excepthook(self, exception_type, exception_value, traceback_object):
466
465
  """
@@ -5583,7 +5582,6 @@ def main():
5583
5582
  window = MainWindow(ffmpeg_bin)
5584
5583
 
5585
5584
  if window.config_param.get(cfg.DARK_MODE, cfg.DARK_MODE_DEFAULT_VALUE):
5586
- print("pyqt5")
5587
5585
  app.setStyleSheet(qdarkstyle.load_stylesheet(qt_api="pyqt5"))
5588
5586
 
5589
5587
  # open project/start observation on command line
boris/otx_parser.py CHANGED
@@ -31,6 +31,7 @@ import zipfile
31
31
  import pathlib as pl
32
32
  from xml.dom import minidom
33
33
  import logging
34
+ from typing import Optional, Tuple
34
35
 
35
36
  try:
36
37
  from . import config as cfg
@@ -38,7 +39,7 @@ except Exception:
38
39
  import config as cfg
39
40
 
40
41
 
41
- def otx_to_boris(file_path: str) -> tuple[dict, list]:
42
+ def otx_to_boris(file_path: str) -> Tuple[dict, list]:
42
43
  """
43
44
  convert otx/otb/odx file in a BORIS project
44
45
 
@@ -326,9 +326,6 @@ def load_stylesheet(*args, **kwargs):
326
326
  str: the stylesheet string.
327
327
  """
328
328
 
329
- print(f"{args=}")
330
- print(f"{kwargs=}")
331
-
332
329
  stylesheet = ""
333
330
  arg = None
334
331
 
@@ -373,9 +370,7 @@ def load_stylesheet(*args, **kwargs):
373
370
 
374
371
  # New API arguments
375
372
  elif "qt_api" in kwargs or isinstance(arg, str):
376
- print(f"{arg=}")
377
373
  qt_api = kwargs.get("qt_api", arg)
378
- print(f"{qt_api=}")
379
374
  stylesheet = _load_stylesheet(qt_api=qt_api, palette=palette)
380
375
 
381
376
  # Palette arg
boris/version.py CHANGED
@@ -20,5 +20,5 @@ This file is part of BORIS.
20
20
 
21
21
  """
22
22
 
23
- __version__ = "8.25.2"
23
+ __version__ = "8.25.3"
24
24
  __version_date__ = "2024-04-18"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: boris-behav-obs
3
- Version: 8.25.2
3
+ Version: 8.25.3
4
4
  Summary: BORIS - Behavioral Observation Research Interactive Software
5
5
  Author-email: Olivier Friard <olivier.friard@unito.it>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -14,13 +14,13 @@ boris/boris_cli.py,sha256=CeUr_QKKySu9v-Gw5fkeQPjA3y_dGv7_Y4tCY41OeoA,13196
14
14
  boris/cmd_arguments.py,sha256=dNMEvMgTRMadC1Oz5IXw4JEBJw8Tq4yCo4yuRCnNfXc,1848
15
15
  boris/coding_pad.py,sha256=XVbg3Q7S4O6Rgxc5ZCzx4jv7eaDvbw_K2T_nQWtsvdU,10996
16
16
  boris/config.py,sha256=XXfLWPCRw04Uw6Scwz-bhq3NGuIk7GznPKW2h3KC7Mw,16859
17
- boris/config_file.py,sha256=MJ-GCXiYSKZ8C2zOoSmNSALKgzoYYN2AELKWZBQK7vE,13535
17
+ boris/config_file.py,sha256=Qy0qkOWip_VHA5uqVLWGDIxJPlxYsMQMdHrYnI_yGWs,13555
18
18
  boris/connections.py,sha256=RIQsaooiz6pzc2jJMHw9CQSyX39TgbM5JAwifCu5eWQ,19280
19
19
  boris/converters.py,sha256=FymqUxLEVLQwsUv6EVF7MRPowN1e87aVT2d3XjZJgAM,11771
20
20
  boris/converters.ui,sha256=hOcg0QkCMdnLf3a9DR3O2gZBl7EbX495VGndWnQVE4E,7400
21
21
  boris/converters_ui.py,sha256=firMWVgS3c492FF-YFv3FehOBLsbBHKaLEaVcoVctgc,8745
22
22
  boris/cooccurence.py,sha256=scazxKCmFQjBvv7oS9h7ylB8GJdkSmwy1LJZeUv5DOY,9824
23
- boris/core.py,sha256=OOfvpD_w9qSpLefRkF9ZFIAQ2pMUMPBdR8FQHPAxTCU,222083
23
+ boris/core.py,sha256=7EPhbtCRM42Ijg6E5ubh2HxFLImWmY4s8b9U3sGD8ws,222059
24
24
  boris/core.qrc,sha256=9DibRJgfKpJ1i6xub-JQtMotLrSKhqRaF_oIkoJRqo8,2398
25
25
  boris/core.ui,sha256=z0unUmECYdGwULy8wX8cNscOlLYcRypWuVdhwM4FJsQ,46554
26
26
  boris/core_qrc.py,sha256=5YMpr7ckI4TbXaeSyCMhNJBAlrGPeLes62RedU3EbWs,865287
@@ -57,7 +57,7 @@ boris/observation.ui,sha256=ZOng-yYtPJxLoUs_5Po35b5G9myTw1CTtD9Gqo_UhMI,27051
57
57
  boris/observation_operations.py,sha256=tMKrL7sM-jcM4__Hpg7mPTfLkjxytXMBdKe2CKFGe5k,100217
58
58
  boris/observation_ui.py,sha256=dfk7pS2DlaiEgMjouH0-_t6kPgMwovQbloHtc3ZoCmY,30278
59
59
  boris/observations_list.py,sha256=rMuEVa3QccA89vjARcEVtSlLnr5s0sfihUlcwciV3OM,10600
60
- boris/otx_parser.py,sha256=9JYmVqBLfGNvoZuj3wonnvo5wpKtBkgv2czl4facsvY,16342
60
+ boris/otx_parser.py,sha256=-Sec_NzVUhwey0oscA1ObSE1rGh-CxwTZaj0jhGzPdM,16377
61
61
  boris/param_panel.py,sha256=XpFuoNtVuPx_3EieYt0JaQ2J3Bk4ZyMa4RgJha_10oE,7473
62
62
  boris/param_panel.ui,sha256=RHcf_MvWO4qPC3pB_L4ow4l_qTX21yRfrZvePhCSLsE,11013
63
63
  boris/param_panel_ui.py,sha256=R6Yfxd7m41_Mo5XCD9wlyAprrEKdCyBZm0jicwh_cGk,11704
@@ -87,7 +87,7 @@ boris/time_budget_functions.py,sha256=L-0PuPWYR33UMfqmxpcCVH-w4mLLrtZ8b8kBTmBwls
87
87
  boris/time_budget_widget.py,sha256=nz7fmdfAQsI8Myyq7rvjnAiuvMKcYP59t7sNQPXjT4g,42850
88
88
  boris/transitions.py,sha256=2zucdoa2jTpWtM6nWHr8lOvjXkrQmo9j71fz_fMLALU,11998
89
89
  boris/utilities.py,sha256=V27JgcKTWajCevmUBFc_tOfZPjklwXW2HiMHE0sup2Y,48431
90
- boris/version.py,sha256=_GPG20lpXdHwa8GjpffisG_d11b1e9oAr117W_UC7cU,788
90
+ boris/version.py,sha256=8iww44IPdN8xlTRj18I6DPc_NWCqMeFvgv5TR04TxOA,788
91
91
  boris/video_equalizer.py,sha256=QpVgmdqX_E4HnMa2f_Qo_fKJTl9nBoTQd_ykv9RWlIQ,5862
92
92
  boris/video_equalizer_ui.py,sha256=A2_Sz9AAVnJygTRUeK_YXxf-WWQpxSSlFw0MjkxiwSg,9762
93
93
  boris/video_operations.py,sha256=96jR-3snNn9VeEURRD6rCwvOL2sSHXoqlP_gYFwgO8A,9379
@@ -100,7 +100,7 @@ boris/portion/dict.py,sha256=SyHxc7PfDw2ufNLFQycwJtzmRfL48rDp4UrM2KN7IWc,11282
100
100
  boris/portion/func.py,sha256=3TkQtFKLfsqntwd27HSGHceFhnXHmT-EbNMqktElC5Q,2174
101
101
  boris/portion/interval.py,sha256=bAdUiJjGeUAPgsBAImwNeviiwfQq5odfhFZccAWzOTA,20299
102
102
  boris/portion/io.py,sha256=ppNeRpiLNrocF1yzGeuEUIhYMf2LfsR-cji3d0nmvUs,6371
103
- boris/qdarkstyle/__init__.py,sha256=TKYn_tY2jIXE3o_oJ8k4WnWBbIhtQB0Ao1JUy0qlMyk,13811
103
+ boris/qdarkstyle/__init__.py,sha256=rryKBcN7fiJ6f5gvyBX3U7oFB_0tgYky7l6TyHb8ILU,13711
104
104
  boris/qdarkstyle/__main__.py,sha256=pHl0SFboLoYnTIXacA5q4d5fnwsItfaiYlB90YdobvI,2233
105
105
  boris/qdarkstyle/colorsystem.py,sha256=WQpywbAxe9s7YTBf_PQu7uEc8Cb2Zp2ttlZ18ZjmaRU,763
106
106
  boris/qdarkstyle/palette.py,sha256=oiywrUIzi8BQtteKiDVoTEHjvk-xrDe_3aIV664Vv6Y,2522
@@ -117,9 +117,9 @@ boris/qdarkstyle/utils/__init__.py,sha256=Nlma8-zbHoJc5n2NVT7OvwxPG5765JnsmMeGzr
117
117
  boris/qdarkstyle/utils/__main__.py,sha256=J1biUyDzfutKU1n9NdH9WnD0gFHaF-OJA4Q-n6Q2ehs,3309
118
118
  boris/qdarkstyle/utils/images.py,sha256=af-BJllzWgVoVz6QMvhFcKqvF3mo44AThaBjuAuHtNE,14444
119
119
  boris/qdarkstyle/utils/scss.py,sha256=n7WNo6pPRft8-dU7_gfjB_jA-JZAy50-S792RwR7Ri0,9366
120
- boris_behav_obs-8.25.2.dist-info/LICENSE.TXT,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
121
- boris_behav_obs-8.25.2.dist-info/METADATA,sha256=-P9c1PrznLz4edFqVPT-Ibgle9lvMRv76g2h1N0EXXc,45541
122
- boris_behav_obs-8.25.2.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
123
- boris_behav_obs-8.25.2.dist-info/entry_points.txt,sha256=fuO7JxKFLOm6xp6m3JHRA1UO_QW1dYU-F0IooA1NqQs,37
124
- boris_behav_obs-8.25.2.dist-info/top_level.txt,sha256=fJSgm62S7WesiwTorGbOO4nNN0yzgZ3klgfGi3Px4qI,6
125
- boris_behav_obs-8.25.2.dist-info/RECORD,,
120
+ boris_behav_obs-8.25.3.dist-info/LICENSE.TXT,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
121
+ boris_behav_obs-8.25.3.dist-info/METADATA,sha256=ApvRg2DnkiD-94Oi9h4d30huoFvNWStxaGcmuhX5C6w,45541
122
+ boris_behav_obs-8.25.3.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
123
+ boris_behav_obs-8.25.3.dist-info/entry_points.txt,sha256=fuO7JxKFLOm6xp6m3JHRA1UO_QW1dYU-F0IooA1NqQs,37
124
+ boris_behav_obs-8.25.3.dist-info/top_level.txt,sha256=fJSgm62S7WesiwTorGbOO4nNN0yzgZ3klgfGi3Px4qI,6
125
+ boris_behav_obs-8.25.3.dist-info/RECORD,,