Skip to content

fixed splash calculator in ms-dial#566

Merged
Bujee415 merged 1 commit intomasterfrom
bugfix/empty-spectrum
May 21, 2025
Merged

fixed splash calculator in ms-dial#566
Bujee415 merged 1 commit intomasterfrom
bugfix/empty-spectrum

Conversation

@YukiMatsuzawa
Copy link
Copy Markdown
Contributor

fixed splash calculator in ms-dial

@YukiMatsuzawa YukiMatsuzawa requested review from Bujee415 and Copilot May 21, 2025 06:48
Copy link
Copy Markdown
Contributor

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 addresses the splash calculator issue in MS-DIAL by adding guard conditions to ensure splash calculations are only performed when a spectrum is available.

  • Added checks to ensure the spectrum is not empty before calculating splash in two separate methods.
  • Prevents potential errors when processing null or empty spectrum data.

@Bujee415 Bujee415 merged commit ac6c435 into master May 21, 2025
9 checks passed
@Bujee415 Bujee415 deleted the bugfix/empty-spectrum branch May 21, 2025 07:59
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.

3 participants