-
Notifications
You must be signed in to change notification settings - Fork 28
allow prodml files without gauge length #518
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
WalkthroughRemoved "GaugeLength" from EXPECTED_ATTRS in ProdML utils, reducing required attributes for is_prodml. Fingerprint now checks PulseRate, PulseWidth, NumberOfLoci, schemaVersion, and uuid. _get_prodml_version_str behavior is unchanged: returns version when is_prodml is true, else an empty string. Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant Utils as prodml.utils
Caller->>Utils: is_prodml(attrs)
Utils->>Utils: Check required attrs {PulseRate, PulseWidth, NumberOfLoci, schemaVersion, uuid}
alt All present
Utils-->>Caller: true
Caller->>Utils: _get_prodml_version_str(attrs)
Utils-->>Caller: schemaVersion
else Missing any
Utils-->>Caller: false
Caller->>Utils: _get_prodml_version_str(attrs)
Utils-->>Caller: ""
end
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested labels
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (15)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #518 +/- ##
=======================================
Coverage 99.87% 99.87%
=======================================
Files 118 118
Lines 9732 9732
=======================================
Hits 9720 9720
Misses 12 12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Turns out the request in #501 was super easy to implement. We just need to loosen the ProdML attrs we are looking for to allow files without
GaugeLength. After doing that, DASCore can read the prodml files included in the mentioned data.Checklist
I have (if applicable):
Summary by CodeRabbit