-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add aeon_mecha installation docs (#22)
* Update placeholder text * Add mailto links * Add aeon_mecha setup instructions * Resolve submodule conflict in �eon_analysis * Add code copy button * Fix typo * Add setup instructions and examples * Use myst-nb instead of nbsphinx * Update URLs * Use myst to parse markdown * Update docstring * Move style doc guidelines * Rename About * Ignore internal wiki during linkcheck * Standardise target names * Copy example notebooks to src * Update remote setup guide * Update remote dev description
- Loading branch information
Showing
19 changed files
with
1,573 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Sphinx documentation | ||
docs/ | ||
src/reference/api/ | ||
src/reference/api.rst | ||
src/reference/api.rst | ||
src/user/**/*_copy* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule aeon_analysis
updated
from f47a37 to 84a1f0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import os | ||
import shutil | ||
|
||
|
||
def copy_ipynb_files(src_dirs: str | list[str], dst_dir: str) -> None: | ||
""" | ||
Copy all ``.ipynb`` files from ``src_dirs`` to ``dst_dir``. | ||
Args: | ||
src_dirs (str | list[str]): A list of directories or a single directory. | ||
dst_dir (str): The destination directory. | ||
""" | ||
if not os.path.exists(dst_dir): | ||
os.makedirs(dst_dir) | ||
|
||
if not isinstance(src_dirs, list): | ||
src_dirs = [src_dirs] | ||
|
||
for src_dir in src_dirs: | ||
for file_name in os.listdir(src_dir): | ||
if file_name.endswith(".ipynb"): | ||
name, extension = os.path.splitext(file_name) | ||
# Append "_copy" to the name | ||
new_file_name = f"{name}_copy{extension}" | ||
shutil.copy( | ||
os.path.join(src_dir, file_name), | ||
os.path.join(dst_dir, new_file_name), | ||
) | ||
|
||
|
||
if __name__ == "__main__": | ||
src_dir = "./aeon_mecha/aeon/dj_pipeline/docs/notebooks/" | ||
dst_dir = "./src/user/how_to/" | ||
copy_ipynb_files(src_dir, dst_dir) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,19 +80,19 @@ If you are interested in joining this project, please contact the [project maint | |
|
||
Below are the required sets of credentials for Project Aeon's members: | ||
|
||
- Microsoft Teams: contact Jai Bhagat, Goncalo Lopes, or Dario Campagner | ||
- SWC Github organization: contact SWC Helpdesk ([email protected]) | ||
- SWC Github 'aeon' project: contact Jai Bhagat or Goncalo Lopes | ||
- SWC HPC: contact SWC Helpdesk | ||
- 'aeon' HPC Linux group: contact SWC Helpdesk | ||
- Datajoint database username: contact Thinh Nguyen ([email protected]) | ||
- Microsoft Teams: contact [Jai Bhagat](mailto:[email protected]), [Gonçalo Lopes](mailto:[email protected]), or [Dario Campagner](mailto:[email protected]) | ||
- SWC Github organization: contact [SWC Helpdesk](mailto:[email protected]) | ||
- SWC Github `aeon` project: contact [Jai Bhagat](mailto:[email protected]) or [Gonçalo Lopes](mailto:[email protected]) | ||
- SWC HPC: contact [SWC Helpdesk](mailto:[email protected]) | ||
- `aeon` HPC Linux group: contact [SWC Helpdesk](mailto:[email protected]) | ||
- Datajoint database username: contact [Thinh Nguyen](mailto:[email protected]) | ||
|
||
To be granted these credentials, please send a single email to all contact parties requesting this access. | ||
To be granted these credentials, please send a single email to [all contact parties](mailto:[email protected],[email protected],[email protected],[email protected],[email protected]?subject=Request%20for%20Aeon%20credentials) requesting this access. | ||
|
||
## Repositories | ||
|
||
> [!IMPORTANT] | ||
> You must be an SWC Github 'aeon' project member to view some of these repositories. | ||
> You must be an SWC Github `aeon` project member to view some of these repositories. | ||
### [aeon_mecha](https://github.com/SainsburyWellcomeCentre/aeon_mecha) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
# mininum dependencies to build aeon_mecha docs | ||
# minimum dependencies to build aeon_mecha docs | ||
dotmap | ||
matplotlib | ||
opencv-python | ||
pandas | ||
|
||
myst-parser | ||
linkify-it-py | ||
sphinx-design | ||
myst-nb | ||
pydata-sphinx-theme | ||
sphinx-autodoc-typehints | ||
pydata-sphinx-theme | ||
sphinx-copybutton | ||
sphinx-design |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _api: | ||
.. _target-api-reference: | ||
|
||
API Reference | ||
============= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
(target-about)= | ||
# About Project Aeon | ||
# About | ||
|
||
Development of Project Aeon is supported by... | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.