Short description
Currently, there is some preprocessing done by both TopologyReader (in preprocess_participant_names() and check_topology()) and NodeCreator (in _data_preprocessing(...) and _patch_preprocessing()).
These methods update the topology-dict (derived from the topology.yaml-file) and thus need to be called after checking valid syntax but before doing the actual node generation.
However, the preprocessing in NodeCreator already requires some form of knowledge about the topology, namely the participants the info contained by their nodes (name and dimensionality).
If the preprocessing is split into a different step, the participants would need to be created / handled outside of the NodeCreator, which also not so nice.
** Proposed solution **
Do the preprocessing before and see if we can do the participant thing twice without causing too much troubles.
Short description
Currently, there is some preprocessing done by both
TopologyReader(inpreprocess_participant_names()andcheck_topology()) andNodeCreator(in_data_preprocessing(...)and_patch_preprocessing()).These methods update the
topology-dict (derived from thetopology.yaml-file) and thus need to be called after checking valid syntax but before doing the actual node generation.However, the preprocessing in
NodeCreatoralready requires some form of knowledge about the topology, namely the participants the info contained by their nodes (name and dimensionality).If the preprocessing is split into a different step, the participants would need to be created / handled outside of the
NodeCreator, which also not so nice.** Proposed solution **
Do the preprocessing before and see if we can do the participant thing twice without causing too much troubles.