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

Correctly count number of actions when updating combined measurements #670

Merged

Conversation

jenshnielsen
Copy link
Collaborator

@jenshnielsen jenshnielsen commented Jul 14, 2017

Fixes #669

The issue is that the base parameters within the combined parameter were being looked up from an index that always starts at 1. This is only true if there is only one parameter/task being measured/executed within the loop. This corrects the counting

  • Print/log warning in case data is dropped
  • Tests!

@MerlinSmiles
Copy link
Contributor

@jenshnielsen that seems to work for me!

@jenshnielsen jenshnielsen merged commit 416ef1f into microsoft:master Jul 18, 2017
giulioungaretti pushed a commit that referenced this pull request Jul 18, 2017
Author: Jens Hedegaard Nielsen <jenshnielsen@gmail.com>

    Correctly count number of actions when updating combined measurements (#670)
@jenshnielsen jenshnielsen deleted the fix_combined_measure_master branch August 3, 2017 08:23
Dominik-Vogel pushed a commit to Dominik-Vogel/Qcodes that referenced this pull request Aug 9, 2017
…microsoft#670)

* Correctly count number of actions when updateting combined measurements

* add tests for loops over combined parameters

* Add hypothesis to test combined aggregator

* combined loop teardown

* simplify tests

* remove unused print
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.

None yet

2 participants