forked from M-Labs/artiq
1
0
Fork 0

browser: use actual field names for tooltip

This commit is contained in:
Robert Jördens 2016-05-25 22:21:07 +02:00
parent 7f39db9c8e
commit f5da3f63aa
1 changed files with 2 additions and 2 deletions

View File

@ -100,8 +100,8 @@ class Hdf5FileSystemModel(QtWidgets.QFileSystemModel):
try: try:
expid = pyon.decode(h5["expid"].value) expid = pyon.decode(h5["expid"].value)
start_time = datetime.fromtimestamp(h5["start_time"].value) start_time = datetime.fromtimestamp(h5["start_time"].value)
v = ("artiq: {}\nrepo: {}\nfile: {}\nclass_name: {}\n" v = ("artiq_version: {}\nrepo_rev: {}\nfile: {}\n"
"rid: {}\nstart: {}").format( "class_name: {}\nrid: {}\nstart_time: {}").format(
h5["artiq_version"].value, expid["repo_rev"], h5["artiq_version"].value, expid["repo_rev"],
expid["file"], expid["class_name"], expid["file"], expid["class_name"],
h5["rid"].value, start_time) h5["rid"].value, start_time)