Skip to content

Conversation

markmikkelsen
Copy link
Contributor

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.

@markmikkelsen markmikkelsen requested review from effigies and neuromechanist and removed request for erdalkaraca August 17, 2025 11:16
@effigies effigies changed the title [FIX] refactor: update ResonantFrequency and SpectrometerFrequency to support both string/number and arrays [FIX] Update ResonantFrequency and SpectrometerFrequency to support both string/number and arrays Aug 17, 2025
@effigies
Copy link
Collaborator

Can the arrays be of any length?

@markmikkelsen
Copy link
Contributor Author

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.

Copy link
Collaborator

@effigies effigies left a 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...

Copy link

codecov bot commented Aug 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.71%. Comparing base (dbe1cd0) to head (cdca116).
⚠️ Report is 6 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@effigies effigies merged commit db1c087 into bids-standard:master Aug 21, 2025
27 checks passed
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.

3 participants