Skip to content

fix(tidy3d): FXC-5313 improve broadband frequency range warning message#3223

Merged
daquinteroflex merged 1 commit intodevelopfrom
weiliang/FXC-5313-adjust-broadband-warning
Feb 4, 2026
Merged

fix(tidy3d): FXC-5313 improve broadband frequency range warning message#3223
daquinteroflex merged 1 commit intodevelopfrom
weiliang/FXC-5313-adjust-broadband-warning

Conversation

@weiliangjin2021
Copy link
Collaborator

@weiliangjin2021 weiliangjin2021 commented Feb 3, 2026

Note

Low Risk
Only updates a warning string and adjusts the corresponding test expectation; no behavioral or numerical logic changes.

Overview
Improves the warning emitted by GaussianPulse.from_frequency_range when the default (DC-removed) Gaussian pulse is likely inaccurate for broadband frequency ranges, explicitly suggesting reducing the range or using BroadbandSource.

Updates the unit test to assert against the new warning text by matching on "broadband" instead of the previous "not sufficiently large" phrasing.

Written by Cursor Bugbot for commit 17c949b. This will update automatically on new commits. Configure here.

Copy link
Contributor

@dmarek-flex dmarek-flex left a comment

Choose a reason for hiding this comment

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

👍

@dmarek-flex
Copy link
Contributor

CHANGELOG entry?

@weiliangjin2021
Copy link
Collaborator Author

CHANGELOG entry?

it looks too minor to edit CHANGLOG

@weiliangjin2021 weiliangjin2021 force-pushed the weiliang/FXC-5313-adjust-broadband-warning branch from 4274546 to 17c949b Compare February 3, 2026 17:01
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

Diff Coverage

Diff: origin/develop...HEAD, staged and unstaged changes

No lines with coverage information in this diff.

@weiliangjin2021 weiliangjin2021 added this pull request to the merge queue Feb 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 3, 2026
@weiliangjin2021 weiliangjin2021 added this pull request to the merge queue Feb 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 3, 2026
@daquinteroflex daquinteroflex added this pull request to the merge queue Feb 4, 2026
Merged via the queue into develop with commit 7464a49 Feb 4, 2026
34 of 42 checks passed
@daquinteroflex daquinteroflex deleted the weiliang/FXC-5313-adjust-broadband-warning branch February 4, 2026 12:48
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