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

Ensure that plot dataset uses axis in the expected order #3017

Merged
merged 4 commits into from
May 17, 2021

Conversation

jenshnielsen
Copy link
Collaborator

As it was the code relied implicitly on the order of axis in the loaded data dictionary. This used to be stable since the data was alwasy loaded from the database in the order the columns was defined. However now the data may be loaded from the in memory cache the order is no longer guaranteed. This should fix the issue by relying on the order of axis defined by the interdeps object.

As a bonus this simplifies the code a bit by no longer having to pop the dependent data axis out and insert it again

@codecov
Copy link

codecov bot commented May 17, 2021

Codecov Report

Merging #3017 (1722464) into master (4ed944a) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3017      +/-   ##
==========================================
- Coverage   65.49%   65.48%   -0.01%     
==========================================
  Files         213      213              
  Lines       28397    28388       -9     
==========================================
- Hits        18598    18590       -8     
+ Misses       9799     9798       -1     

qcodes/dataset/data_export.py Outdated Show resolved Hide resolved
@jenshnielsen jenshnielsen merged commit b784682 into microsoft:master May 17, 2021
@jenshnielsen jenshnielsen deleted the plot_dataset_axis_order branch May 17, 2021 15:14
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