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

View File

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