Skip to content

Commit

Permalink
Remove unused submodules (#88)
Browse files Browse the repository at this point in the history
* Remove unused submodules

* Automatically check out all submodules

* Remove submodule dirs

* Remove mentions of `aeon_analysis`
  • Loading branch information
lochhh authored Dec 18, 2024
1 parent 321e7ea commit eb8ed0d
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 32 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/docs_build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion aeon_analysis
Submodule aeon_analysis deleted from 84a1f0
1 change: 0 additions & 1 deletion aeon_blog
Submodule aeon_blog deleted from 2c50ec
4 changes: 0 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 0 additions & 2 deletions src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
]
Expand Down Expand Up @@ -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}}",
Expand Down
6 changes: 0 additions & 6 deletions src/getting_started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb8ed0d

Please sign in to comment.