GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit f9ea9b9d authored by Thomas Vincent's avatar Thomas Vincent

Display properQSpace dimension names in tree

parent 3b9b884d
......@@ -417,10 +417,8 @@ class QSpaceInfoNode(Node):
# Adding qspace dims.
##################################################
qspaceDimsNode = Node(nodeName='Qspace size')
qspaceDims = qspaceH5.qspace_dimensions
# support for previous versions
# TODO : remove eventualy
text = '{0}x{1}x{2} (qx, qy, qz)'.format(*qspaceDims)
text = '{0}x{1}x{2} ({3}, {4}, {5})'.format(*(
qspaceH5.qspace_dimensions + qspaceH5.qspace_dimension_names))
qspaceDimsNode._setDataInternal(ModelColumns.ValueColumn, text)
children.append(qspaceDimsNode)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment