Commit 74591f8e authored by payno's avatar payno
Browse files

[hdf5scan] fix: use current key name instead of node name because fail on symbolic links

parent 303c5801
Pipeline #22228 failed with stages
in 1 minute and 6 seconds
......@@ -224,9 +224,9 @@ class HDF5TomoScan(TomoScanBase):
for root_node in h5f.keys():
node = h5f[root_node]
if HDF5TomoScan.node_is_nxtomo(node) is True:
res_buf.append(node)
res_buf.append(root_node) # cannnot be node because of sym links
[res.append(node.name) for node in res_buf]
[res.append(node) for node in res_buf]
res.sort()
return tuple(res)
......
Supports Markdown
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