pds4_tools icon indicating copy to clipboard operation
pds4_tools copied to clipboard

to_dict method | Reference_List dictionary - sub-groups collapse

Open Fenreg opened this issue 1 year ago • 2 comments

Dear @LevN0,

I found out that the to_dict method has apparently an issue when dealing with a Reference_List, and apparently collapses the duplicate sub-groups into a single one. Consider a Reference_List containing multiple Internal_Reference labels set as below: image Which when read as follows: image Provides the following results: image

My understanding is that this feature happens despite the Reference_List being structured as expected according the Information model specs (https://pds.nasa.gov/datastandards/documents/im/v1/index_1K00.html#reference_type).

Could you throw maybe some light on this ? Looking forward to your reply, All the best

Fenreg avatar Dec 12 '23 10:12 Fenreg