Also, for each top level key we have an inner Dict with keys unit, node, and connection. I think it will be better to have unit, node, and connection as top level keys to avoid repetition. In other words, lift unit, node and connection one level up in the Dict structure.
Thanks a lot @manuelma. I still have it on my list to go through it again myself. You comments give me some concrete things to check :). Will create a PR after the review.
begin
blockreturn
, julia functions automatically return the result of the last line which is already theDict
.Dict
with keys unit, node, and connection. I think it will be better to have unit, node, and connection as top level keys to avoid repetition. In other words, lift unit, node and connection one level up in theDict
structure.collect
?@gnawin here are some comments regarding the code you wrote in case you have time to give it a review.