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

add debugging and make the final write more robust #822

Merged
merged 7 commits into from
Oct 27, 2017

Conversation

WilliamHPNielsen
Copy link
Contributor

Fixes #821

Changes proposed in this pull request:

  • Add more log.debug to the data saving process
  • Make the qc.Loop's final writing of data more robust

@jenshnielsen @sohailc

@@ -11,6 +11,8 @@
from .location import FormatLocation
from qcodes.utils.helpers import DelegateAttributes, full_class, deep_update

Copy link
Collaborator

Choose a reason for hiding this comment

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

There is a bunch of old style non named loggers in this file. I think we should convert those too

@jenshnielsen
Copy link
Collaborator

jenshnielsen commented Oct 27, 2017

Looks good 👍 for a test based on #821

Does finalise get called if you keyboard interrupt ?

super().__init__(name=name, names=names, shapes=shapes,
instrument=instrument)

def get(self): # this results in a nan-filled DataArray
Copy link
Collaborator

Choose a reason for hiding this comment

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

might as well make this get_raw to not get the warning?

@jenshnielsen
Copy link
Collaborator

The abstract write method in format.py should probably also be changed to match the 2 concrete implementations

@jenshnielsen jenshnielsen merged commit 0cd61ac into master Oct 27, 2017
giulioungaretti pushed a commit that referenced this pull request Oct 27, 2017
Author: William H.P. Nielsen <whpn@mailbox.org>

    add debugging and make the final write more robust (#822)
@astafan8 astafan8 deleted the fix/datasaving_with_nan_arrays branch December 4, 2019 11:05
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.

2 participants