boris-behav-obs 8.27.3__py2.py3-none-any.whl → 8.27.4__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/export_events.py +7 -0
- boris/project_import_export.py +4 -1
- boris/version.py +2 -2
- {boris_behav_obs-8.27.3.dist-info → boris_behav_obs-8.27.4.dist-info}/METADATA +1 -1
- {boris_behav_obs-8.27.3.dist-info → boris_behav_obs-8.27.4.dist-info}/RECORD +9 -9
- {boris_behav_obs-8.27.3.dist-info → boris_behav_obs-8.27.4.dist-info}/WHEEL +1 -1
- {boris_behav_obs-8.27.3.dist-info → boris_behav_obs-8.27.4.dist-info}/LICENSE.TXT +0 -0
- {boris_behav_obs-8.27.3.dist-info → boris_behav_obs-8.27.4.dist-info}/entry_points.txt +0 -0
- {boris_behav_obs-8.27.3.dist-info → boris_behav_obs-8.27.4.dist-info}/top_level.txt +0 -0
boris/export_events.py
CHANGED
|
@@ -461,6 +461,8 @@ def export_aggregated_events(self):
|
|
|
461
461
|
_, max_modifiers = export_observation.export_aggregated_events(self.pj, parameters, obs_id)
|
|
462
462
|
tot_max_modifiers = max(tot_max_modifiers, max_modifiers)
|
|
463
463
|
|
|
464
|
+
logging.debug(f"tot_max_modifiers: {tot_max_modifiers}")
|
|
465
|
+
|
|
464
466
|
data_grouped_obs = tablib.Dataset()
|
|
465
467
|
|
|
466
468
|
mem_command: str = "" # remember user choice when file already exists
|
|
@@ -517,6 +519,8 @@ def export_aggregated_events(self):
|
|
|
517
519
|
if not r:
|
|
518
520
|
QMessageBox.warning(None, cfg.programName, msg, QMessageBox.Ok | QMessageBox.Default, QMessageBox.NoButton)
|
|
519
521
|
|
|
522
|
+
"""
|
|
523
|
+
# disabled after introduction of the force_number_modifiers parameter in export_aggregated_events function
|
|
520
524
|
if len(data_single_obs_sorted) and max_modifiers < tot_max_modifiers:
|
|
521
525
|
for i in range(tot_max_modifiers - max_modifiers):
|
|
522
526
|
data_single_obs_sorted.insert_col(
|
|
@@ -524,9 +528,12 @@ def export_aggregated_events(self):
|
|
|
524
528
|
col=[""] * (len(list(data_single_obs_sorted))),
|
|
525
529
|
header=f"Modif #{i}",
|
|
526
530
|
)
|
|
531
|
+
"""
|
|
532
|
+
|
|
527
533
|
data_grouped_obs.extend(data_single_obs_sorted)
|
|
528
534
|
|
|
529
535
|
data_grouped_obs_all = tablib.Dataset(headers=list(fields_type(tot_max_modifiers).keys()))
|
|
536
|
+
|
|
530
537
|
data_grouped_obs_all.extend(data_grouped_obs)
|
|
531
538
|
data_grouped_obs_all.title = "Aggregated events"
|
|
532
539
|
|
boris/project_import_export.py
CHANGED
|
@@ -428,7 +428,10 @@ def load_dataframe_into_behaviors_tablewidget(self, df: pd.DataFrame) -> int:
|
|
|
428
428
|
for _, row in df.iterrows():
|
|
429
429
|
behavior = {"coding map": ""}
|
|
430
430
|
for x in ethogram_header:
|
|
431
|
-
|
|
431
|
+
if ethogram_header[x].upper() in row:
|
|
432
|
+
behavior[x] = row[ethogram_header[x].upper()] if str(row[ethogram_header[x].upper()]) != "nan" else ""
|
|
433
|
+
else:
|
|
434
|
+
behavior[x] = ""
|
|
432
435
|
|
|
433
436
|
self.twBehaviors.setRowCount(self.twBehaviors.rowCount() + 1)
|
|
434
437
|
|
boris/version.py
CHANGED
|
@@ -29,7 +29,7 @@ boris/event_operations.py,sha256=JYIZC4ObShZ-SPxNQaQZwKs8xJn4Dj0lvIiNgzc28Jo,389
|
|
|
29
29
|
boris/events_cursor.py,sha256=Jfu7yV1MG7HikNmMQmOVJ7ntmEZzDZn5HHp3va8llwM,1983
|
|
30
30
|
boris/events_snapshots.py,sha256=BGfIba0_TxHW2UHaEOZF7hqM1jv5roI6KaGuWajfavg,27580
|
|
31
31
|
boris/exclusion_matrix.py,sha256=xaEFLy2Zv5SWryMz1D0cEpywsAuZxZuBaaGYLaBGhng,5270
|
|
32
|
-
boris/export_events.py,sha256=
|
|
32
|
+
boris/export_events.py,sha256=leFq9QXSF6cTwK5TBAOjbv2Tco1im5Rk-RfU8E_On80,38029
|
|
33
33
|
boris/export_observation.py,sha256=TC_Mxyor5e0HZViG9xxAX_V18i61ihFnVmhioNOy_Dw,49821
|
|
34
34
|
boris/external_processes.py,sha256=069iEVOfDI-7zUYPH7WlYBEnKqTR18mjj8dReBkUACE,11965
|
|
35
35
|
boris/geometric_measurement.py,sha256=jd6HiWJNrjqRInG452a8Ke44Zj4QyNSYa9JKO8DZzOo,34609
|
|
@@ -62,7 +62,7 @@ boris/preferences.py,sha256=W_BHck8lxODvZ9NzIgfvhvXAwUI5A66aJVmdTRTxZMo,11494
|
|
|
62
62
|
boris/preferences_ui.py,sha256=fz0jHW7Nqw2P68FLBqheaGrQsZATNz8d8J00TVMX_Ig,21981
|
|
63
63
|
boris/project.py,sha256=wMOcWsz7tA-efmHOrKe0_s5I4Vy-u1u_fUTWzxTVdp8,83465
|
|
64
64
|
boris/project_functions.py,sha256=R3DS_faDuMGKTpMnV0OhqgZp9yO1ojoA5wUIXdtHNIE,70972
|
|
65
|
-
boris/project_import_export.py,sha256=
|
|
65
|
+
boris/project_import_export.py,sha256=E2Jv4CQQpFxGspLZdAIxBcB-aCM7SlfobR5ZlC2QqHk,38463
|
|
66
66
|
boris/project_ui.py,sha256=TRJlsqq4XbIl8k2f20BKr2PtKa0QNjFNr6UnMieZYqU,35915
|
|
67
67
|
boris/qrc_boris.py,sha256=4U2cD_fIBTtsTPhirOl9I3kTArOhXWYvfuO_A0M9N0I,675001
|
|
68
68
|
boris/qrc_boris5.py,sha256=6bwT8OVtIr84nVIYp2ldUL7XL6WJi9zgJow6kgRxuIQ,161601
|
|
@@ -76,7 +76,7 @@ boris/time_budget_functions.py,sha256=L-0PuPWYR33UMfqmxpcCVH-w4mLLrtZ8b8kBTmBwls
|
|
|
76
76
|
boris/time_budget_widget.py,sha256=9WV-iKYSl1f3HBrGcL-eHDjUswrFQh6-WUcffTtce1Y,42852
|
|
77
77
|
boris/transitions.py,sha256=2zucdoa2jTpWtM6nWHr8lOvjXkrQmo9j71fz_fMLALU,11998
|
|
78
78
|
boris/utilities.py,sha256=07qXAQ6aGyiSC2h6RMJ031OlXYy05-KTLJtnQtXn6FU,48724
|
|
79
|
-
boris/version.py,sha256=
|
|
79
|
+
boris/version.py,sha256=fs3Hih6V9-QWHmasEF1Pyx9fUiAoLh6LqowVIuNvHwc,788
|
|
80
80
|
boris/video_equalizer.py,sha256=QpVgmdqX_E4HnMa2f_Qo_fKJTl9nBoTQd_ykv9RWlIQ,5862
|
|
81
81
|
boris/video_equalizer_ui.py,sha256=A2_Sz9AAVnJygTRUeK_YXxf-WWQpxSSlFw0MjkxiwSg,9762
|
|
82
82
|
boris/video_operations.py,sha256=96jR-3snNn9VeEURRD6rCwvOL2sSHXoqlP_gYFwgO8A,9379
|
|
@@ -105,9 +105,9 @@ boris/qdarkstyle/utils/__init__.py,sha256=Nlma8-zbHoJc5n2NVT7OvwxPG5765JnsmMeGzr
|
|
|
105
105
|
boris/qdarkstyle/utils/__main__.py,sha256=J1biUyDzfutKU1n9NdH9WnD0gFHaF-OJA4Q-n6Q2ehs,3309
|
|
106
106
|
boris/qdarkstyle/utils/images.py,sha256=af-BJllzWgVoVz6QMvhFcKqvF3mo44AThaBjuAuHtNE,14444
|
|
107
107
|
boris/qdarkstyle/utils/scss.py,sha256=n7WNo6pPRft8-dU7_gfjB_jA-JZAy50-S792RwR7Ri0,9366
|
|
108
|
-
boris_behav_obs-8.27.
|
|
109
|
-
boris_behav_obs-8.27.
|
|
110
|
-
boris_behav_obs-8.27.
|
|
111
|
-
boris_behav_obs-8.27.
|
|
112
|
-
boris_behav_obs-8.27.
|
|
113
|
-
boris_behav_obs-8.27.
|
|
108
|
+
boris_behav_obs-8.27.4.dist-info/LICENSE.TXT,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
|
|
109
|
+
boris_behav_obs-8.27.4.dist-info/METADATA,sha256=sJFqhkz8Uj1lgAcSntH461AuI4YUlExjdalt79XyxWw,45533
|
|
110
|
+
boris_behav_obs-8.27.4.dist-info/WHEEL,sha256=OWYSMTYHNOLxNw0Mxija-Qn3HdviNLu4kabRWA1yLB4,109
|
|
111
|
+
boris_behav_obs-8.27.4.dist-info/entry_points.txt,sha256=fuO7JxKFLOm6xp6m3JHRA1UO_QW1dYU-F0IooA1NqQs,37
|
|
112
|
+
boris_behav_obs-8.27.4.dist-info/top_level.txt,sha256=fJSgm62S7WesiwTorGbOO4nNN0yzgZ3klgfGi3Px4qI,6
|
|
113
|
+
boris_behav_obs-8.27.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|