Skip to content

Commit 634f259

Browse files
committed
Reformat remaining documentation and setup
1 parent f776ffd commit 634f259

File tree

4 files changed

+23
-20
lines changed

4 files changed

+23
-20
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
18+
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
1919

2020
steps:
2121
- uses: actions/checkout@v3

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ https://static-content.springer.com/esm/art%3A10.1038%2Fs41598-022-20142-6/Media
1717
).
1818

1919
## Installation
20+
2021
This project is on [PyPI](https://pypi.org/project/modularitypruning/) and can
2122
be installed with
2223

@@ -31,6 +32,7 @@ Alternatively, you can install it from this repository directly:
3132
python3 setup.py install
3233

3334
<a name = "Basic Usage"></a>
35+
3436
## Basic Usage
3537

3638
This package interfaces directly with python-igraph. A simple example of its

figure_generation_runtimes.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
On a machine with
44

5-
- CPU: i7-9700K (8 cores, stock, up to 4.9 GHz)
6-
- RAM: 16 GB DDR4 3200 MHz
5+
- CPU: i7-9700K (8 cores, stock, up to 4.9 GHz)
6+
- RAM: 16 GB DDR4 3200 MHz
77

88
the figure generation runtimes that exceed ~5 seconds are as follows.
99

10-
| Figures | Runtime | Saves Progress/Results? |
11-
|---------|---------|-----------------|
12-
| [karate_club_gamma_estimates](experiments/karate_club_gamma_estimates/karate_club_gamma_estimates.py) | ~50 s | No
13-
| [karate_club_estimates_per_community](experiments/karate_club_gamma_estimates/karate_club_estimates_per_community.py) | ~40 s | No
14-
| [plot_champ_example](experiments/example_figures/plot_champ_example.py) | ~10 s | No
15-
| [modularity_nonmonotonic_K](experiments/modularity_nonmonotonic_K/modularity_nonmonotonic_K.py) | ~1 m | No
16-
| [karate_club_test](experiments/karate_club_test/karate_club_test.py) | ~5 m | No
17-
| [plot_gamma_max_derivatives](experiments/plot_duality_details/plot_gamma_max_derivatives.py) | ~5 m | No
18-
| [easy_regime_generation](experiments/pamfil_synthetic_networks/easy_regime_generation.py) | ~55 m | Yes
19-
| [hard_regime_generation](experiments/pamfil_synthetic_networks/hard_regime_generation.py) | ~60 m | Yes
20-
| [lazega_figures](experiments/lazega_law_firm/lazega_figures.py) | ~25 m | Yes
21-
| [SNAP_boxplot](experiments/social_networks/SNAP_boxplot.py) | ~55 m | Yes
22-
| [bistable_SBM_test_constant_probs](experiments/bistable_SBM/bistable_SBM_test_constant_probs.py) | ~2 d | Yes
23-
| [lfr_benchmark_test](experiments/lfr_benchmark_test/lfr_benchmark_test.py) | ~3.0 h | Yes
24-
| [hierarchical_SBM_test](experiments/hierarchical_SBM_test/hierarchical_SBM_test.py) | ~1.5 h | Yes
25-
| [runtime_comparison_with_louvain](experiments/miscellaneous_tests/runetime_comparison_with_louvain.py) | ~25 m | Yes
10+
| Figures | Runtime | Saves Progress/Results? |
11+
|-----------------------------------------------------------------------------------------------------------------------|---------|-------------------------|
12+
| [karate_club_gamma_estimates](experiments/karate_club_gamma_estimates/karate_club_gamma_estimates.py) | ~50 s | No |
13+
| [karate_club_estimates_per_community](experiments/karate_club_gamma_estimates/karate_club_estimates_per_community.py) | ~40 s | No |
14+
| [plot_champ_example](experiments/example_figures/plot_champ_example.py) | ~10 s | No |
15+
| [modularity_nonmonotonic_K](experiments/modularity_nonmonotonic_K/modularity_nonmonotonic_K.py) | ~1 m | No |
16+
| [karate_club_test](experiments/karate_club_test/karate_club_test.py) | ~5 m | No |
17+
| [plot_gamma_max_derivatives](experiments/plot_duality_details/plot_gamma_max_derivatives.py) | ~5 m | No |
18+
| [easy_regime_generation](experiments/pamfil_synthetic_networks/easy_regime_generation.py) | ~55 m | Yes |
19+
| [hard_regime_generation](experiments/pamfil_synthetic_networks/hard_regime_generation.py) | ~60 m | Yes |
20+
| [lazega_figures](experiments/lazega_law_firm/lazega_figures.py) | ~25 m | Yes |
21+
| [SNAP_boxplot](experiments/social_networks/SNAP_boxplot.py) | ~55 m | Yes |
22+
| [bistable_SBM_test_constant_probs](experiments/bistable_SBM/bistable_SBM_test_constant_probs.py) | ~2 d | Yes |
23+
| [lfr_benchmark_test](experiments/lfr_benchmark_test/lfr_benchmark_test.py) | ~3.0 h | Yes |
24+
| [hierarchical_SBM_test](experiments/hierarchical_SBM_test/hierarchical_SBM_test.py) | ~1.5 h | Yes |
25+
| [runtime_comparison_with_louvain](experiments/miscellaneous_tests/runetime_comparison_with_louvain.py) | ~25 m | Yes |

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from setuptools import setup
21
import os
32

3+
from setuptools import setup
4+
45
here = os.path.abspath(os.path.dirname(__file__))
56

67
# Get the long description from the README file

0 commit comments

Comments
 (0)