Skip to content

Fixes to stop ASCII reader from crashing. - #236

Merged
jamescrake-merani merged 3 commits into
refactor_24from
refactor_24_angle_default_unit
Sep 21, 2026
Merged

jamescrake-merani merged 3 commits into
refactor_24from
refactor_24_angle_default_unit

Conversation

@jamescrake-merani

@jamescrake-merani jamescrake-merani commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

The ASCII dialog fails because it tries to fetch the default unit for Phi which isn't specified.

There is a question about whether this should be degrees, or theta, and also perhaps whether other angle columns should be added here.

EDIT: Also added a fix for SESANS, as the expected order hadn't been updated.

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.

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.

@jamescrake-merani jamescrake-merani changed the title Default unit for Phi to be in degrees. Fixes to stop ASCII reader from crashing. Sep 18, 2026

@krzywon krzywon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Code looks fine. Haven't tested.

Comment thread sasdata/default_units.py
@jamescrake-merani
jamescrake-merani merged commit 82bfa2b into refactor_24 Sep 21, 2026
5 of 17 checks passed
@jamescrake-merani
jamescrake-merani deleted the refactor_24_angle_default_unit branch September 21, 2026 14:00
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