def add_participant(self, id, age=None, sex=None, role=None):

        participant = {'id': id}

        if age:
            participant['age'] = age
        if sex:
            participant['sex'] = sex
        if role:
            participant['role'] = role

        self.participants.append(participant)
This method is responsible to add the
dataset/ETHPy150Open cidles/graf-python/src/graf/graphs.py/ProfileDesc.add_participant