N3FIT makes extensive use of dictionaries but they very quickly get rather unwieldy, one such example is:
which returns a list of dictionaries which map to lists containing more dictionaries which map to more lists... and it just becomes an absolute mess trying to keep track of what it is I am trying to dig to.
There must be an easier way of structuring these things. In general n3fit appeals to dictionaries quite a bit which makes me wonder if there is any other way of doing this.
N3FIT makes extensive use of dictionaries but they very quickly get rather unwieldy, one such example is:
nnpdf/n3fit/src/n3fit/io/reader.py
Line 175 in a70e6f7
which returns a list of dictionaries which map to lists containing more dictionaries which map to more lists... and it just becomes an absolute mess trying to keep track of what it is I am trying to dig to.
There must be an easier way of structuring these things. In general n3fit appeals to dictionaries quite a bit which makes me wonder if there is any other way of doing this.