Skip to content

231: Reorganize Refactor Project Data Loaders (now call Importers) - #235

Open
krzywon wants to merge 22 commits into
refactor_24from
refactor_24_231_io_reorg
Open

krzywon wants to merge 22 commits into
refactor_24from
refactor_24_231_io_reorg

Conversation

@krzywon

@krzywon krzywon commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

This is a full reorg of the new data importers. I've also better organized the unit tests, including setting all unit test data into a central, importable location, which is why so many files are touched.

Changes:

  • Reorg the new data importers
  • Renamed the new importers from temp_<type>_reader.py to import_<type>.py
  • Add an exporter subpackage in preparation for future changes
  • Add base Importer and Exporter classes with minimal functionality
  • Reorg the unit tests, moving all unit test data into its own importable subdirectory
  • Updated all (previous and refactor) unit tests to import data from the new location

With the number of changes here, especially in the unit tests, I figured I should get this reviewed and merged sooner rather than later. I plan to branch off this point while I continue to work on other issues.

Fixes #128 (Maybe)
Fixes #231
Refs #223
Refs #225
Refs #192

codescene-access[bot]

This comment was marked as outdated.

@krzywon
krzywon requested a review from DrPaulSharp September 17, 2026 13:11

@DrPaulSharp DrPaulSharp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All looks good, just a few minor issues to address.

Comment thread sasdata/data_io/importer.py
Comment thread test/data_io/utest_import_ascii.py
codescene-access[bot]

This comment was marked as outdated.

@codescene-access codescene-access Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No quality gates enabled for this code.

See analysis details in CodeScene

Quality Gate Profile: Custom Configuration
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

This branch has not been deployed

No deployments
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