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 #153: check for IndexError in get_measurement_commands #154

Merged
merged 1 commit into from
May 23, 2024

Conversation

thierry-martinez
Copy link
Contributor

This commit fixes #153 by catching IndexError in get_measurement_commands. A test is added to catch this bug to prevent regression.

Copy link

codecov bot commented May 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.84%. Comparing base (dd15e5d) to head (2c77573).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #154      +/-   ##
==========================================
+ Coverage   71.75%   71.84%   +0.08%     
==========================================
  Files          30       30              
  Lines        5353     5359       +6     
==========================================
+ Hits         3841     3850       +9     
+ Misses       1512     1509       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@shinich1 shinich1 left a comment

Choose a reason for hiding this comment

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

good catch, thank you! please squash and merge.

@thierry-martinez thierry-martinez merged commit 08c4b24 into TeamGraphix:master May 23, 2024
17 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.

[Bug]: "list index out of range" in pattern.get_measurement_commands
2 participants