From 81eb2b81b9cc41b59a80919fb33b4266f2a52d8f Mon Sep 17 00:00:00 2001 From: Tiago de Paula Peixoto Date: Sun, 1 Jan 2017 18:52:33 +0100 Subject: [PATCH] motif_significance(): Fix default arguments --- src/graph_tool/clustering/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graph_tool/clustering/__init__.py b/src/graph_tool/clustering/__init__.py index 8a1c69f5..939b61b5 100644 --- a/src/graph_tool/clustering/__init__.py +++ b/src/graph_tool/clustering/__init__.py @@ -441,7 +441,7 @@ def _graph_sig(g): def motif_significance(g, k, n_shuffles=100, p=1.0, motif_list=None, threshold=0, self_loops=False, parallel_edges=False, - full_output=False, shuffle_model="uncorrelated"): + full_output=False, shuffle_model="configuration"): r""" Obtain the motif significance profile, for subgraphs with k vertices. A tuple with two lists is returned: the list of motifs found, and their @@ -475,7 +475,7 @@ def motif_significance(g, k, n_shuffles=100, p=1.0, motif_list=None, of each motif, the average count of each motif in the shuffled networks, and the standard deviation of the average count of each motif in the shuffled networks. - shuffle_model : string (optional, default: "uncorrelated") + shuffle_model : string (optional, default: "configuration") Shuffle model to use. See :func:`~graph_tool.generation.random_rewire` for details. -- GitLab