From eb8ed0d63fe0f68ee4171415e6de870774fc5758 Mon Sep 17 00:00:00 2001 From: Chang Huan Lo Date: Wed, 18 Dec 2024 18:13:13 +0100 Subject: [PATCH] Remove unused submodules (#88) * Remove unused submodules * Automatically check out all submodules * Remove submodule dirs * Remove mentions of `aeon_analysis` --- .github/workflows/docs_build_and_deploy.yml | 11 +---------- .gitmodules | 8 -------- aeon_analysis | 1 - aeon_blog | 1 - readme.md | 4 ---- src/conf.py | 2 -- src/getting_started/index.md | 6 ------ 7 files changed, 1 insertion(+), 32 deletions(-) delete mode 160000 aeon_analysis delete mode 160000 aeon_blog diff --git a/.github/workflows/docs_build_and_deploy.yml b/.github/workflows/docs_build_and_deploy.yml index 2e817fd9..a4f870ba 100644 --- a/.github/workflows/docs_build_and_deploy.yml +++ b/.github/workflows/docs_build_and_deploy.yml @@ -21,16 +21,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - submodules: false # Disable automatic checkout of all submodules - - name: Fetch tags - run: | - git fetch --prune --prune-tags --force --depth=1 --no-recurse-submodules - - name: Checkout public submodules # Skip aeon_experiments - run: | - git submodule sync - git submodule update --init aeon_acquisition - git submodule update --init aeon_analysis - git submodule update --init aeon_mecha + submodules: true # Enable automatic checkout of all submodules - name: Setup .NET uses: actions/setup-dotnet@v4 diff --git a/.gitmodules b/.gitmodules index c07b1217..1a2dead1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,14 +2,6 @@ path = aeon_mecha url = https://github.com/SainsburyWellcomeCentre/aeon_mecha branch = data-preview -[submodule "aeon_analysis"] - path = aeon_analysis - url = https://github.com/SainsburyWellcomeCentre/aeon_analysis - branch = api-notebooks -[submodule "aeon_blog"] - path = aeon_blog - url = https://github.com/SainsburyWellcomeCentre/aeon_blog - branch = main [submodule "aeon_experiments"] path = aeon_experiments url = https://github.com/SainsburyWellcomeCentre/aeon_experiments diff --git a/aeon_analysis b/aeon_analysis deleted file mode 160000 index 84a1f067..00000000 --- a/aeon_analysis +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 84a1f067d02f475e1409391f7ef1ca645bbc5055 diff --git a/aeon_blog b/aeon_blog deleted file mode 160000 index 2c50ec4f..00000000 --- a/aeon_blog +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2c50ec4f99522754493c69eae04664ea53530cfd diff --git a/readme.md b/readme.md index cf8736f1..ef3951b7 100644 --- a/readme.md +++ b/readme.md @@ -144,10 +144,6 @@ Contains experiment workflows written in the Bonsai visual programming language. Contains the source code for the 'aeon_acquisition' Bonsai package, which is heavily used in workflows in 'aeon_experiments'. -### [aeon_analysis](https://github.com/SainsburyWellcomeCentre/aeon_analysis) - -Contains Python modules for analysis of Aeon experiment data. - ### [aeon_lineardrive](https://github.com/SainsburyWellcomeCentre/aeon_lineardrive) Contains source code for actuating a linear drive motor used in Aeon experiments (designed primarily for moving electrophysiology cabling during freely-moving experiments). diff --git a/src/conf.py b/src/conf.py index 6688c4e1..40bef61c 100644 --- a/src/conf.py +++ b/src/conf.py @@ -18,7 +18,6 @@ sys.path.extend( [ os.path.abspath("../aeon_mecha/"), - os.path.abspath("../aeon_analysis/aeon_analysis"), os.path.abspath("../aeon_acquisition"), os.path.abspath("../aeon_experiments"), ] @@ -165,7 +164,6 @@ def get_current_release_tag(): "ftp": None, "mailto": None, "aeon-mecha-github": "https://github.com/SainsburyWellcomeCentre/aeon_mecha/{{path}}", - "aeon-analysis-github": "https://github.com/SainsburyWellcomeCentre/aeon_analysis/{{path}}", "aeon-acquisition-github": "https://github.com/SainsburyWellcomeCentre/aeon_acquisition/{{path}}", "aeon-experiments-github": "https://github.com/SainsburyWellcomeCentre/aeon_experiments/{{path}}", "aeon-lineardrive-github": "https://github.com/SainsburyWellcomeCentre/aeon_lineardrive/{{path}}", diff --git a/src/getting_started/index.md b/src/getting_started/index.md index 90c425d7..924ddbfd 100644 --- a/src/getting_started/index.md +++ b/src/getting_started/index.md @@ -60,12 +60,6 @@ Source code for the `aeon_acquisition` Bonsai package used in Aeon experiment workflows ::: -:::{grid-item-card} {fas}`chart-line;sd-text-primary` aeon_analysis -:link: https://github.com/SainsburyWellcomeCentre/aeon_analysis -:link-type: url -Python modules for analysis of Aeon experiment data -::: - :::{grid-item-card} {fas}`gear;sd-text-primary` aeon_lineardrive :link: https://github.com/SainsburyWellcomeCentre/aeon_lineardrive :link-type: url