Skip to content

Commit

Permalink
Revert "Added density test and group connection test to inference mod…
Browse files Browse the repository at this point in the history
…ule" (#1031)
  • Loading branch information
bdpedigo committed May 12, 2023
1 parent 3e88028 commit 3fbc049
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 1,917 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## `graspologic` is a package for graph statistical algorithms.
<!-- no toc -->

- [Overview](#overview)
- [Documentation](#documentation)
- [System Requirements](#system-requirements)
Expand Down
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"scipy": ("https://docs.scipy.org/doc/scipy", None),
"seaborn": ("https://seaborn.pydata.org", None),
"sklearn": ("https://scikit-learn.org/dev", None),
"statsmodels": ("https://www.statsmodels.org/stable", None),
}

intersphinx_disabled_reftypes = []
Expand Down
4 changes: 0 additions & 4 deletions docs/reference/reference/inference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ Inference
Two-graph hypothesis testing
----------------------------

.. autofunction:: density_test

.. autofunction:: group_connection_test

.. autofunction:: latent_position_test

.. autofunction:: latent_distribution_test
11 changes: 4 additions & 7 deletions docs/sphinx-ext/toctree_filter.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# Copied and modified from https://stackoverflow.com/questions/15001888/conditional-toctree-in-sphinx

import re

from sphinx.directives.other import TocTree


def setup(app):
app.add_config_value("toc_filter_exclude", [], "html")
app.add_directive("toctree-filt", TocTreeFilt)
return {"version": "1.0.0"}

app.add_config_value('toc_filter_exclude', [], 'html')
app.add_directive('toctree-filt', TocTreeFilt)
return {'version': '1.0.0'}

class TocTreeFilt(TocTree):
"""
Expand All @@ -23,8 +21,7 @@ class TocTreeFilt(TocTree):
form `:secret:ultra-api` or `:draft:new-features` will be excuded from
the final table of contents. Entries without a prefix are always included.
"""

hasPat = re.compile("\s*(.*)$")
hasPat = re.compile('\s*(.*)$')

# Remove any entries in the content that we dont want and strip
# out any filter prefixes that we want but obviously don't want the
Expand Down
2 changes: 0 additions & 2 deletions docs/tutorials/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ are tutorials for robust statistical hypothesis testing on multiple graphs.
:maxdepth: 1
:titlesonly:

inference/density_test
inference/group_connection_test
inference/latent_position_test
inference/latent_distribution_test

Expand Down
232 changes: 0 additions & 232 deletions docs/tutorials/inference/density_test.ipynb

This file was deleted.

0 comments on commit 3fbc049

Please sign in to comment.