Skip to content

SASBDB export core library - #4077

Draft
wpotrzebowski wants to merge 4 commits into
mainfrom
sasbdb-core
Draft

wpotrzebowski wants to merge 4 commits into
mainfrom
sasbdb-core

Conversation

@wpotrzebowski

@wpotrzebowski wpotrzebowski commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Split from draft PR SASBDB export #3912: SASBDB core export library only (data models, collector, JSON exporter).
  • Adds SASBDBTest and registers it in run_tests.sh / run_tests.bat.
  • No GUI/menu yet — foundation for follow-up dialog and Fitting PRs.

Stack

Test plan

  • python -m UnitTesting.SASBDBTest from src/sas/qtgui
  • Confirm FreeSAS optional paths fail gracefully when unset
  • Confirm no menu/Tools entry appears yet

Introduce data models, collector, and JSON exporter so session/fit
metadata can be assembled without the GUI dialog.

Co-authored-by: Cursor <cursoragent@cursor.com>
Prefer explicit unit attributes over magnitude heuristics, and avoid
overwriting beamline_instrument with empty metadata.

Co-authored-by: Cursor <cursoragent@cursor.com>
codescene-access[bot]

This comment was marked as outdated.

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.

Our agent can fix these. Install it.

No quality gates enabled for this code.

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

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.

1 participant