Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add page for NWB stats on DANDI #40

Merged
merged 7 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
284 changes: 284 additions & 0 deletions data/dandi_nwb_stats.tsv

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import sys
import sphinx_rtd_theme
from nwb_project_analytics.create_codestat_pages import create_codestat_pages
from nwb_project_analytics.dandistats import DANDIStats
from nwb_project_analytics._version import get_versions


Expand Down Expand Up @@ -200,5 +201,17 @@ def setup(app):
print_status=True)
else:
print("\033[1mSKIPPING: create_codestat_pages... \033[0m done "
"(the existing code_stat_pages up-to-date with the data cache)")
"(the existing code_stat_pages are up-to-date with the data cache)")

if update_code_stat_pages:
DANDIStats.create_dandistats_pages(
out_dir=code_stat_pages_dir,
data_dir=code_stat_data_dir,
load_cached_results=True,
cache_results=True,
print_status=True
)
else:
print("\033[1mSKIPPING: create_dandistats_pages... \033[0m done "
"(the existing dandistats_pages are up-to-date with the data cache)")

5 changes: 5 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ NWB Software Analytics

code_stat_pages/code_stats_tools.rst

.. toctree::
:maxdepth: 2

code_stat_pages/dandi_nwb_stats.rst

.. toctree::
:maxdepth: 2
:caption: Analytics API:
Expand Down
Loading
Loading