diff --git a/config/pipeline_config.yaml b/config/pipeline_config.yaml index 9e93613..7bc896b 100644 --- a/config/pipeline_config.yaml +++ b/config/pipeline_config.yaml @@ -133,37 +133,9 @@ validation: - eyes_closed - clock_dropout - # Column groups for column-scoped validation checks. - # Each group defines a named set of columns; checks decide how to use them. - column_groups: - - name: "Left Hand" - description: "Left hand wrist position and rotation" - columns: - - Left_XRHand_Wrist_x - - Left_XRHand_Wrist_y - - Left_XRHand_Wrist_z - - Left_XRHand_Wrist_Rotation_x - - Left_XRHand_Wrist_Rotation_y - - Left_XRHand_Wrist_Rotation_z - - name: "Right Hand" - description: "Right hand wrist position and rotation" - columns: - - Right_XRHand_Wrist_x - - Right_XRHand_Wrist_y - - Right_XRHand_Wrist_z - - Right_XRHand_Wrist_Rotation_x - - Right_XRHand_Wrist_Rotation_y - - Right_XRHand_Wrist_Rotation_z - # Optional per-check settings. All keys here are passed through to checks # via ValidationConfig.get(). Add or uncomment as needed. settings: - # Assign which column groups each check receives (by group name). - # If omitted, checks receive all configured column_groups. - check_column_groups: - hands_tracking_loss: - - "Left Hand" - - "Right Hand" # eyes_closed check thresholds (defaults used if omitted) # eyes_closed_threshold: 0.9 diff --git a/pyproject.toml b/pyproject.toml index 1789ec7..88072ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "resxr" -version = "0.2.0" +version = "0.2.1" description = "VR Data Processing Pipeline" readme = "README.md" requires-python = ">=3.10" diff --git a/src/resxr/__main__.py b/src/resxr/__main__.py index fc97e39..4f170f5 100644 --- a/src/resxr/__main__.py +++ b/src/resxr/__main__.py @@ -1,6 +1,8 @@ from __future__ import annotations +import sys + from .cli import main if __name__ == "__main__": - main() + sys.exit(main()) diff --git a/src/resxr/pipeline.py b/src/resxr/pipeline.py index 4c5571a..c477c14 100644 --- a/src/resxr/pipeline.py +++ b/src/resxr/pipeline.py @@ -215,7 +215,7 @@ def process_session_from_mapping( # Generate report if config.report.enabled: - report_dir = bids.get_session_dir(session) + report_dir = config.report.output_dir or bids.get_session_dir(session) report_path = report_dir / f"{session.session_id}_report.html" reporter = ReportGenerator(config.report) reporter.generate(session, report_path, config=config)