aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/export_tobii_segment_aruco_visual_scan.py5
-rw-r--r--src/argaze/utils/export_tobii_segment_movements.py5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py b/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py
index e2e52cc..711cf3b 100644
--- a/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py
+++ b/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py
@@ -59,7 +59,10 @@ def main():
destination_path = args.segment_path
# Export into a dedicated time range folder
- timerange_path = f'[{int(args.time_range[0])}s - {int(args.time_range[1])}s]'
+ if args.time_range[1] != None:
+ timerange_path = f'[{int(args.time_range[0])}s - {int(args.time_range[1])}s]'
+ else:
+ timerange_path = f'[all]'
destination_path = f'{destination_path}/{timerange_path}'
diff --git a/src/argaze/utils/export_tobii_segment_movements.py b/src/argaze/utils/export_tobii_segment_movements.py
index ece8cff..cb2e607 100644
--- a/src/argaze/utils/export_tobii_segment_movements.py
+++ b/src/argaze/utils/export_tobii_segment_movements.py
@@ -43,7 +43,10 @@ def main():
destination_path = args.segment_path
# Export into a dedicated time range folder
- timerange_path = f'[{int(args.time_range[0])}s - {int(args.time_range[1])}s]'
+ if args.time_range[1] != None:
+ timerange_path = f'[{int(args.time_range[0])}s - {int(args.time_range[1])}s]'
+ else:
+ timerange_path = f'[all]'
destination_path = f'{destination_path}/{timerange_path}'