def __init__(self, phase=None, **kwargs):
        super().__init__(**kwargs)
        if phase is None:
            self._phase = GenericPhase()
            self.phases.update({self._phase.name: self._phase})
        else:
            self._phase = phase  # Register phase with self
            if sp.size(phase) != 1:
                raise Exception('The GenericLinearTransport class can only ' +
                                'operate on a single phase')
            else:
                self.phases.update({phase.name: phase})
        if self._net is not phase._net:
            raise Exception(phase.name / 'and this algorithm are associated' +
                            ' with different networks.')
dataset/ETHPy150Open PMEAL/OpenPNM/OpenPNM/Algorithms/__GenericLinearTransport__.py/GenericLinearTransport.__init__/operator `+` -> `/`