boris-behav-obs 9.0.7__py2.py3-none-any.whl → 9.0.8__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.py CHANGED
@@ -424,10 +424,6 @@ PROJECT_FILE_INDENTATION_DEFAULT_VALUE = None
424
424
  TOOLBAR_ICON_SIZE = "toolbar icon size"
425
425
  DEFAULT_TOOLBAR_ICON_SIZE_VALUE = 24
426
426
 
427
- """
428
- DARK_MODE = "dark_mode"
429
- DARK_MODE_DEFAULT_VALUE = False
430
- """
431
427
 
432
428
  VIDEO_VIEWER = 0
433
429
  PICTURE_VIEWER = 1
boris/event_operations.py CHANGED
@@ -40,6 +40,7 @@ from .edit_event import DlgEditEvent, EditSelectedEvents
40
40
 
41
41
  from PySide6.QtWidgets import QMessageBox, QInputDialog, QLineEdit, QAbstractItemView, QApplication
42
42
  from PySide6.QtCore import QTime, Qt
43
+ from PySide6.QtGui import QClipboard
43
44
 
44
45
 
45
46
  def add_event(self):
@@ -879,8 +880,8 @@ def copy_selected_events(self):
879
880
  print(f"{copied_events=}")
880
881
 
881
882
  cb = QApplication.clipboard()
882
- cb.clear(mode=cb.Clipboard)
883
- cb.setText("\n".join(copied_events), mode=cb.Clipboard)
883
+ cb.clear(mode=QClipboard.Mode.Clipboard)
884
+ cb.setText("\n".join(copied_events), mode=QClipboard.Mode.Clipboard)
884
885
 
885
886
  logging.debug("Selected events copied in clipboard")
886
887
 
boris/utilities.py CHANGED
@@ -545,7 +545,7 @@ def point_behavior_codes(ethogram: dict) -> list:
545
545
  list: list of behavior codes defined as POINT event
546
546
 
547
547
  """
548
- return [ethogram[x][cfg.BEHAVIOR_CODE] for x in ethogram if cfg.POINT in ethogram[x][cfg.TYPE].upper()]
548
+ return [ethogram[x][cfg.BEHAVIOR_CODE] for x in ethogram if ethogram[x][cfg.TYPE] in (cfg.POINT_EVENT, cfg.POINT_EVENT_WITH_CODING_MAP)]
549
549
 
550
550
 
551
551
  def group_events(pj: dict, obs_id: str, include_modifiers: bool = False) -> dict:
boris/version.py CHANGED
@@ -20,5 +20,5 @@ This file is part of BORIS.
20
20
 
21
21
  """
22
22
 
23
- __version__ = "9.0.7"
24
- __version_date__ = "2025-02-27"
23
+ __version__ = "9.0.8"
24
+ __version_date__ = "2025-03-06"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: boris-behav-obs
3
- Version: 9.0.7
3
+ Version: 9.0.8
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
@@ -10,7 +10,7 @@ boris/behaviors_coding_map.py,sha256=Pat6U2JHxH8epWH42ZlwzZJ0Rmgl-BKQ5KARjp3GbNg
10
10
  boris/boris_cli.py,sha256=n0OiVvZM1gM6E7yKaff9wlgmpAGK4TK052VRi8AabJo,13196
11
11
  boris/cmd_arguments.py,sha256=oWb-FvhKLbKJhATlTHy9muWu8XnnUfOZ-3Fmz2M8Yzc,1848
12
12
  boris/coding_pad.py,sha256=fBKdp7DDyupySJosIYtqNd8s2E-GruzCgVhDFsoVWKE,10986
13
- boris/config.py,sha256=19BiZHfFJqgjnAXFqQ5LGb0XSOSYgpQk9NsAs6Rijj4,17185
13
+ boris/config.py,sha256=_1DabgiY89-aUZaPlF8UAgzeAlbkUnlJPufI7NkbvcU,17121
14
14
  boris/config_file.py,sha256=RC6lmO9UN_yKz_OgVmviz8rv2f4GXS-0VlRBSoSUcUg,13521
15
15
  boris/connections.py,sha256=7vTfpZjn225uvEx2VQdV1RgCDP1znW0XAMy8Zu-CSpg,19294
16
16
  boris/converters.py,sha256=c1Jps-URoglY5ILQHz-pCCf6-4DFUHZLtqr_ofsrFg0,11722
@@ -25,7 +25,7 @@ boris/dialog.py,sha256=eWoB_uIZLdg1ugmpqW1Fphk3M4AD9vBZoY4wjgdzMgI,32794
25
25
  boris/duration_widget.py,sha256=GjZgCAMGOcsNjoPiRImEVe6yMkH2vuNoh44ulpd5nlg,6924
26
26
  boris/edit_event.py,sha256=hyy43CD5BCBa4iJbzbLQZKiFBVnox7JI0FNP0k-5aSk,7891
27
27
  boris/edit_event_ui.py,sha256=vhglQrhkF9tt0HVlkXnkG7symW0eOFA7nhbk6l_qn3k,7772
28
- boris/event_operations.py,sha256=iMx4wlnxrPmeIEddKS-bGgP_4owLdrWsj255dRPQHoo,37830
28
+ boris/event_operations.py,sha256=JoMFOSzul0xcS8PNQ2ANQsHm4wkyduPMEcyPSsdRLyI,37893
29
29
  boris/events_cursor.py,sha256=VPY_ygD0fxE5lp25mcd2l00XQXurCR6hprffF4tKRbU,2078
30
30
  boris/events_snapshots.py,sha256=uzyCGgcyu0CKjZ76B5lyE8_kAMfxVS59GuYpdsCEc04,27561
31
31
  boris/exclusion_matrix.py,sha256=ff88xD6aqc8bpIuj9ZCz9ju_HeqqgibQwoaJrIOJ6RI,5272
@@ -77,8 +77,8 @@ boris/synthetic_time_budget.py,sha256=G26GDbScv4DviCDRIG_lo1sY6THGoVYqoR4cRpSuEG
77
77
  boris/time_budget_functions.py,sha256=vInLbWyswtB0OE_1VATjCCmEdhnwgHuQudNnvVWh2gQ,52022
78
78
  boris/time_budget_widget.py,sha256=2YRMe1h_X3K4aSs1AnGUDblvi-QYkdHAZwicudeN_Es,42418
79
79
  boris/transitions.py,sha256=_aZJfJWv3EBrtmQ7qsdTCayQo6uWU7BXqtQQgflEhr4,12250
80
- boris/utilities.py,sha256=hqlKgKvdYHdpQ6nhXDruS_3NOvB9CXRi3b7RpEamU0c,52742
81
- boris/version.py,sha256=QP01PQ3_fv1198HqhcBKklHPnQx00Fli6Ppc0oTgo0Y,787
80
+ boris/utilities.py,sha256=_DRmQSD7lYn52B0yzMkMdF7jQBGx_x44fBaJ1PejpSM,52775
81
+ boris/version.py,sha256=Xr0WXzrXZBnFo5aKUFdcl6Md3KMAGfRBSttcMss5SB0,787
82
82
  boris/video_equalizer.py,sha256=FartoGghFK-T53zklP70rPKYqTuzL8qdvfGlsOF2wwc,5854
83
83
  boris/video_equalizer_ui.py,sha256=1CG3s79eM4JAbaCx3i1ILZXLceb41_gGXlOLNfpBgnw,10142
84
84
  boris/video_operations.py,sha256=mh3iR__Sm2KnV44L_sW2pOo3AgLwlM7wiTnnqQiAVs4,9381
@@ -95,9 +95,9 @@ boris/portion/dict.py,sha256=SyHxc7PfDw2ufNLFQycwJtzmRfL48rDp4UrM2KN7IWc,11282
95
95
  boris/portion/func.py,sha256=3TkQtFKLfsqntwd27HSGHceFhnXHmT-EbNMqktElC5Q,2174
96
96
  boris/portion/interval.py,sha256=bAdUiJjGeUAPgsBAImwNeviiwfQq5odfhFZccAWzOTA,20299
97
97
  boris/portion/io.py,sha256=ppNeRpiLNrocF1yzGeuEUIhYMf2LfsR-cji3d0nmvUs,6371
98
- boris_behav_obs-9.0.7.dist-info/LICENSE.TXT,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
99
- boris_behav_obs-9.0.7.dist-info/METADATA,sha256=yCgZy-GA2MFqCQVwhqubnJ5RWq1ZMJyORXwmEuoRIUI,42102
100
- boris_behav_obs-9.0.7.dist-info/WHEEL,sha256=rF4EZyR2XVS6irmOHQIJx2SUqXLZKRMUrjsg8UwN-XQ,109
101
- boris_behav_obs-9.0.7.dist-info/entry_points.txt,sha256=-Vl37ZFjZYK5wTSDf5LAzd2cVLON1Pfy1xkx490Wxak,47
102
- boris_behav_obs-9.0.7.dist-info/top_level.txt,sha256=fJSgm62S7WesiwTorGbOO4nNN0yzgZ3klgfGi3Px4qI,6
103
- boris_behav_obs-9.0.7.dist-info/RECORD,,
98
+ boris_behav_obs-9.0.8.dist-info/LICENSE.TXT,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
99
+ boris_behav_obs-9.0.8.dist-info/METADATA,sha256=xnfU2WG50EeKwawDyZyT0WLnvaUKj8-CbRRC1Fke5gI,42102
100
+ boris_behav_obs-9.0.8.dist-info/WHEEL,sha256=rF4EZyR2XVS6irmOHQIJx2SUqXLZKRMUrjsg8UwN-XQ,109
101
+ boris_behav_obs-9.0.8.dist-info/entry_points.txt,sha256=-Vl37ZFjZYK5wTSDf5LAzd2cVLON1Pfy1xkx490Wxak,47
102
+ boris_behav_obs-9.0.8.dist-info/top_level.txt,sha256=fJSgm62S7WesiwTorGbOO4nNN0yzgZ3klgfGi3Px4qI,6
103
+ boris_behav_obs-9.0.8.dist-info/RECORD,,