-
Notifications
You must be signed in to change notification settings - Fork 187
[FIX] Update ResonantFrequency and SpectrometerFrequency to support both string/number and arrays #2172
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
Conversation
Can the arrays be of any length? |
I don't believe RF coil hardware has ever been designed to tune for more than two isotopes. So a maximum length of two would be reasonable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If minimum/maximum lengths are worth validating...
Co-authored-by: Chris Markiewicz <[email protected]>
Co-authored-by: Chris Markiewicz <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2172 +/- ##
=======================================
Coverage 82.71% 82.71%
=======================================
Files 20 20
Lines 1608 1608
=======================================
Hits 1330 1330
Misses 278 278 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Noticed that ResonantFrequency and SpectrometerFrequency required arrays. Should allow either a string or number, respectively, (most common case) or arrays of strings or numbers, respectively.