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

fix: get rid of DRY-violating hard-coded energies #264

Merged
merged 10 commits into from
Jan 29, 2025
Merged

Conversation

c-dilks
Copy link
Member

@c-dilks c-dilks commented Jan 27, 2025

All existing hard-coded beam energy overrides from both run-monitoring.sh and monitorRead.groovy were cross-checked with RCDB; only RG-F has beam energies which deviate from RCDB.

  • Move all hard-coded RG-F beam energy overrides to run-monitoring.sh to resolve the DRY violation, and print a warning when they are used
  • Remove all other hard-coded overrides and rely on RCDB

Closes #60 and supersedes #61 (README.md from #61 was also cross checked here)

All existing hard-coded beam energy overrides from both
`run-monitoring.sh` and `monitorRead.groovy` were cross-checked with
RCDB; only RG-F has beam energies which deviate from RCDB.
- Move all hard-coded RG-F beam energy overrides to `run-monitoring.sh`
  to resolve the DRY violation, and print a warning when they are used
- Remove all other hard-coded overrides and rely on RCDB
@c-dilks c-dilks force-pushed the rgc-sp23-readiness branch from 578988e to 460f825 Compare January 28, 2025 23:01
@c-dilks c-dilks marked this pull request as ready for review January 29, 2025 00:30
@c-dilks c-dilks enabled auto-merge (squash) January 29, 2025 17:12
@c-dilks c-dilks merged commit 6ba9d6c into main Jan 29, 2025
12 checks passed
@c-dilks c-dilks deleted the rgc-sp23-readiness branch January 29, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

beam energy access violates DRY
1 participant