Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparations for detecting out of range SetDaScale #2293

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

t-b
Copy link
Collaborator

@t-b t-b commented Nov 5, 2024

Will merge once CI passes.

We don't have the pre set event anymore since 20b6ccc (Analysis Functions: Remove PRE_SWEEP_EVENT and repurpose as PRE_SWEEP_CONFIG_EVENT, 2021-06-21).
The pre set comes before the pre sweep event so let's make that clear in
the table as well.
@t-b t-b self-assigned this Nov 5, 2024
@t-b t-b force-pushed the bugfix/2293-set-da-scale-limits-prep branch 2 times, most recently from 9e01dcd to fdee1cc Compare November 5, 2024 18:22
These checks are always true, we don't do these check nowadays and don't
loose anything if we get rid of them.
If the expected type is not given we need to allow querying non-existent
parameters, otherwise functions like PSQ_CR_FindDependentAnalysisParameter
always bug out.

Broken since d0961b5 (AFH_GetAnalysisParameter: Skip type assertion, 2019-12-12).

Also add some tests.
In 2bc24da (PA_SpikePositionsForNonVC: Add missing /Q, 2024-08-01) we
added a plain /Q  to FindPeak. But the author did not realize that for
this operation the /Q implies not erroring out (other operations do that
with /Z).

So the function currently always bugs out when it finds a peak.

By dropping the RTE error handling we can use it correctly.
@t-b t-b force-pushed the bugfix/2293-set-da-scale-limits-prep branch from fdee1cc to 7bd2189 Compare November 5, 2024 19:45
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