-
Notifications
You must be signed in to change notification settings - Fork 322
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
Cast array params to np array before inserting #1497
Cast array params to np array before inserting #1497
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1497 +/- ##
==========================================
- Coverage 73.78% 73.77% -0.01%
==========================================
Files 92 92
Lines 10439 10440 +1
==========================================
Hits 7702 7702
- Misses 2737 2738 +1 |
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.
Great to have the parametrization in place for these things in tests!
8f7ceea
to
58593a3
Compare
58593a3
to
dd70d11
Compare
I believe that coverage drops because https://github.com/QCoDeS/Qcodes/blob/master/qcodes/dataset/measurements.py#L264 is no longer hit (the conversion is now taken care of by atleast_1d) |
Merge: 7db6a25 dd70d11 Author: Jens Hedegaard Nielsen <[email protected]> Merge pull request #1497 from jenshnielsen/cast_array_params_to_np_array
Otherwise this will not work correctly when inserting as arrays