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

Remove prompt pulse #37932

Closed
wants to merge 36 commits into from
Closed

Remove prompt pulse #37932

wants to merge 36 commits into from

Conversation

dmitry-ganyushin
Copy link
Contributor

Description of work

6177: RemovePromptPulse doesn't work when negative time-of-flight are in the workspace

Summary of work

This PR should fix issues for RemovePromptPulse to mask correctly the first pulse including the case of ToFmin <0.

@sf1919
Copy link
Contributor

sf1919 commented Sep 9, 2024

Don't forget to add labels and milestones please

@dmitry-ganyushin dmitry-ganyushin self-assigned this Sep 9, 2024
@dmitry-ganyushin dmitry-ganyushin added this to the Release 6.11 milestone Sep 9, 2024
Copy link
Member

@peterfpeterson peterfpeterson left a comment

Choose a reason for hiding this comment

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

This looks like it fixed the bug, but it needs a release note

@dmitry-ganyushin dmitry-ganyushin added the Bug Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing) label Sep 9, 2024
Copy link
Member

@peterfpeterson peterfpeterson left a comment

Choose a reason for hiding this comment

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

  1. Still needs release notes
  2. I prefer you verify visually that only low TOF/d-spacing is changed and update the reference file (docs for updating files)

@dmitry-ganyushin
Copy link
Contributor Author

If I set Width=1, the produced PG3_4866.gsa file is bit identical to the golden one. This test is Ok on my local installation; I am trying to figure out what is wrong here.

@jclarkeSTFC jclarkeSTFC changed the base branch from main to release-next September 12, 2024 15:15
@peterfpeterson
Copy link
Member

It looks like you are only running a single system test. Run the full SNSPowderRedux suite locally and you'll track down the changes faster.

ninja && ./systemtest -R SNSPowderRedux

Also, you need to put the input parameters in the tests back to what they were. This is how the instrument team has been calling the code for years and it needs to stay a realistic example. The reference data needs to be inspected to see how it is changed and update the reference file.

peterfpeterson
peterfpeterson previously approved these changes Sep 13, 2024
@sf1919
Copy link
Contributor

sf1919 commented Sep 13, 2024

This is blocked by #37972. The Linux tests here can be re-run once it has been merged in.

cailafinn and others added 20 commits September 16, 2024 13:37
Also adds some inheritance to avoid repeats.

RE #37306

Co-authored-by: Yusuf Jimoh <[email protected]>
Set test conditions as they were before change is the RemovePromptPulse
Fixed tolerance value initialization.
Set test conditions as they were before change is the RemovePromptPulse
Fixed tolerance value initialization.
@dmitry-ganyushin
Copy link
Contributor Author

Closed in favor of #37982. Could not get this PR get though the build, probably because it started from main. #37982 starts form release-next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants