Small fix for a edge case.
While parsing a nexus file into elastic search, having errors. The issue is coming from the key nexus.NXxrd_pan.ENTRY.0.2theta_plot.intensity__field
. You see that 2
in 2theta
which is interpreted as index in elastic tree. So, I make a small fix, leaving the functionality unchanged of the rebuilt_dict
function.