Skip to content

Conversation

@mbelianchikov
Copy link

I added a feature to export measurement data for specific run by a right click.
Export to csv file, default name is "dataID_XXX.csv" , where XXX is run ID.

"""
curdir = os.getcwd()
runId = int(self.runList.selectedItems()[0].text(0))
default_name = curdir+"/dataID_"+str(runId)+".csv"
Copy link
Collaborator

Choose a reason for hiding this comment

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

i'd highly recommend to use dataset's GUID in the file name. For an example you can see how qcodes' dataset export feature is implemented see here https://microsoft.github.io/Qcodes/examples/DataSet/Exporting-data-to-other-file-formats.html

@mbelianchikov mbelianchikov changed the title Add data export functionality Added data export functionality Feb 22, 2025
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