clone_pores(network, pores, labels=['clone'], mode='parents')[source]#

Clones the specified pores and adds them to the network

  • network (Network) – The Network object to which the new pores are to be added

  • pores (array_like) – List of pores to clone

  • labels (str, or list[str]) – The labels to apply to the clones, default is ‘clone’

  • mode (str) –

    Controls the connections between parents and clones. Options are:




    Each clone is connected only to its parent.(Default)


    Clones are only connected to each other in the same manner as parents were connected.


    No connections between parents or siblings