Skip to content

Preprocessing of topology #6

Description

@orlandoisepic

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions