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

MIES_AnalysisFunctions_PatchSeq.ipf: Remove fallthrough to PRE_SET_EVENT #1941

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

t-b
Copy link
Collaborator

@t-b t-b commented Nov 15, 2023

In 76b7cd2 (Patch Seq: Make it work with indexing, 2018-06-11) we introduced support for using indexing with the patch seq analysis functions. We did that by executing the code we can in PRE_SET_EVENT and everything else in PRE_DAQ_EVENT. The added fallthrough means that we execute the code in PRE_SET_EVENT also in PRE_DAQ_EVENT.

It is not clear why we did it back then like that, so let's remove the fallthrough.

Close #1192

The reason I'm doing that now is that I want to perform some more expensive tasks for DAScale adaptive supratreshold in PRE_SET_EVENT but then it matters if we execute that code in PRE_DAQ_EVENT or not.

@t-b t-b self-assigned this Nov 15, 2023
In 76b7cd2 (Patch Seq: Make it work with indexing, 2018-06-11) we
introduced support for using indexing with the patch seq analysis
functions. We did that by executing the code we can in PRE_SET_EVENT and
everything else in PRE_DAQ_EVENT. The added fallthrough means that we
execute the code in PRE_SET_EVENT also in PRE_DAQ_EVENT.

It is not clear why we did it back then like that, so let's remove the
fallthrough.

We can then also remove the DAScale setting for PSQ_DAScale in the
PRE_DAQ_EVENT.

Close #1192
@t-b t-b force-pushed the bugfix/1941-remove-fallthrough branch from 6faa7a1 to 0a27c2f Compare November 15, 2023 20:42
@t-b t-b assigned timjarsky and unassigned t-b Nov 20, 2023
@t-b t-b marked this pull request as ready for review November 20, 2023 10:44
@t-b t-b requested a review from timjarsky as a code owner November 20, 2023 10:44
@t-b t-b marked this pull request as draft December 7, 2023 14:49
@t-b t-b marked this pull request as ready for review December 20, 2023 19:56
@t-b t-b enabled auto-merge December 21, 2023 18:20
@t-b t-b disabled auto-merge December 22, 2023 13:45
@t-b t-b merged commit 05dcedf into main Dec 22, 2023
18 checks passed
@t-b t-b deleted the bugfix/1941-remove-fallthrough branch December 22, 2023 13: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.

Duplicated Analysis Function Version entries in labnotebook
2 participants