Closed nOBITa3001 closed 2 years ago
I relaxed the lookup where to set a value in the target data structure. More than one segment with identical tag in a segment group works now.
Hello @shogg
Thank you for the update!
Confirm it works as expected!
Hello @shogg
Thank you for creating this package. I use this one in my project to read data from BAPLIE file
I have a situation that I have the same key, "LOC", at 2 places within the same segment group, "SG2" for my BAPLIE specification Unfortunately, I could not read the value using the duplicated key. I debugged and found my case that there is no "path" for the "specNode" value that use for looking up value from h.decodeTree in "handler.go" file
I have tried many setups, but they didn't work So, could you please help to verify my specification is correct or the package requires to add some logic to support this case
baplie-specification
structs
function
testing
The above test will fail because "PortOfLoading" and "PortOfDischarge" are empty