prjemian / punx

Python Utilities for NeXus HDF5 files
https://prjemian.github.io/punx
5 stars 7 forks source link

BUG h5tree reports the name of value as defined in the external file #149

Closed prjemian closed 2 years ago

prjemian commented 2 years ago

At this time, tree reports the name of (external link) value as defined in the external file. This is wrong. It should be the name as defined in the master file. In this example, the master file has link to the NXdata group in the external file.

external data file

/tmp/external.h5
  external_data_group:NXdata
    @NX_class = NXdata
    @signal = x
    x:float64 = 0.123

master data file

/tmp/master.h5 : NeXus data file
  entry:NXentry
    @NX_class = NXentry
    external_data_group:NXdata  <--- should be  "master_data_group:NXdata"
      @NX_class = NXdata
      @signal = x
      x:NX_FLOAT64 = 0.123
prjemian commented 2 years ago

Be advised that work on #18 and this issue are likely to conflict with PR #147.