Skip to content

Added System Object support#2

Merged
Lurkerpas merged 3 commits intomainfrom
feature-mbep#311-opus2-so-parsing-and-data-model
Dec 8, 2025
Merged

Added System Object support#2
Lurkerpas merged 3 commits intomainfrom
feature-mbep#311-opus2-so-parsing-and-data-model

Conversation

@Lurkerpas
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for parsing OPUS2 System Object CSV files. The implementation introduces data model classes, a CSV reader, comprehensive test coverage, and test data files.

  • New data model classes (SystemObject, SystemObjectType) with proper dataclass definitions
  • CSV reader (SOReader) supporting both file and string inputs with configurable delimiters
  • Comprehensive test suite covering basic files, complex values, multiline values, and edge cases

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 22 comments.

Show a summary per file
File Description
templateprocessor/so.py Defines data model classes for System Objects using dataclasses
templateprocessor/soreader.py Implements CSV reader for parsing System Object files with semicolon delimiter support
tests/test_soreader.py Provides comprehensive test coverage for SOReader functionality
tests/Makefile Adds test_soreader.py to the test suite
data/events.csv Test data file containing basic event definitions
data/parameters.csv Test data file containing complex parameter values
data/housekeeping.csv Test data file containing multiline housekeeping data

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Lurkerpas Lurkerpas requested a review from Ficzer December 5, 2025 15:59
@Lurkerpas Lurkerpas merged commit 8fd7994 into main Dec 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants