diff --git a/setup.py b/setup.py index ea968c4..651b392 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( name="pycoornet", - version="0.3.0", + version="0.3.1", description="Using Python Given a set of URLs, this packages detects coordinated link sharing behavior on social media and outputs the network of entities that performed such behaviour.", long_description=long_description, long_description_content_type="text/markdown", diff --git a/src/pycoornet/shared.py b/src/pycoornet/shared.py index 79846d0..2a28673 100644 --- a/src/pycoornet/shared.py +++ b/src/pycoornet/shared.py @@ -354,4 +354,4 @@ def coord_shares(self, coordination_interval=None, percentile_edge_weight=90, cl highly_connected_graph, q = self.__buid_graph(crowdtangle_shares_df, coordinated_shares_df, percentile_edge_weight=percentile_edge_weight, timestamps=gtimestamps) - return crowdtangle_shares_df, highly_connected_graph, q, coordination_interval + return crowdtangle_shares_df, highly_connected_graph, q diff --git a/tests/test_pycoornet.py b/tests/test_pycoornet.py index bb75561..96cf0cd 100644 --- a/tests/test_pycoornet.py +++ b/tests/test_pycoornet.py @@ -28,9 +28,8 @@ def test_crowdtangle(crowd_token, sample_source_df): def test_shared(sample_ct_df): shared = Shared(sample_ct_df) - crowtangle_shares_df, highly_connected_graph, q, coordination_interval = shared.coord_shares(clean_urls=True) - if (crowtangle_shares_df.shape[0] > 0 and - highly_connected_graph != None and q > 0 and coordination_interval>0): + crowtangle_shares_df, highly_connected_graph, q = shared.coord_shares(clean_urls=True) + if crowtangle_shares_df.shape[0] > 0 and highly_connected_graph != None: assert True else: assert False