Skip to content

Refactor: Improve how FileIO and FileCompare are invoked and interact#2

Merged
bruhad-dave merged 9 commits into
developfrom
refactor/file_io_file_compare
Jul 15, 2025
Merged

Refactor: Improve how FileIO and FileCompare are invoked and interact#2
bruhad-dave merged 9 commits into
developfrom
refactor/file_io_file_compare

Conversation

@bruhad-dave

Copy link
Copy Markdown
Collaborator
  • FileIO now invoked inside FileCompare::__init__
  • schema-related methods in FileCompare now called automatically inside compare method rather than separately on init level
  • config handling and related code now in FileCompare::__init__
  • CLI changed to updated initialisation of FileCompare object and cleaned up as appropriate
  • FileCompare invocation updated in corresponding tests
  • CLI now uses a parent_parser for params that are shared between file_compare and convert_format subparsers

@bruhad-dave bruhad-dave self-assigned this Jun 26, 2025
@bruhad-dave bruhad-dave requested a review from fs5sanger June 26, 2025 11:56
Comment thread validation_toolkit/TableValidator/file_io.py Outdated
Comment thread validation_toolkit/TableValidator/file_compare.py Outdated
@bruhad-dave bruhad-dave requested a review from fs5sanger July 15, 2025 09:28
@bruhad-dave bruhad-dave merged commit 6290b56 into develop Jul 15, 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.

2 participants