Skip to content

Commit 0941995

Browse files
committed
Resolve merge conflicts
2 parents ec0c258 + 2a45423 commit 0941995

29 files changed

Lines changed: 2161 additions & 881 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Description
2+
3+
<!-- What does this PR do and why? Link the issue it addresses. -->
4+
5+
Closes #
6+
7+
---
8+
9+
Please read [CONTRIBUTING.md](https://github.com/sensorium-competition/experanto/blob/main/CONTRIBUTING.md) thoroughly before submitting — especially the Pull Requests section.

.github/workflows/docs.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,12 @@ jobs:
2828
with:
2929
python-version: '3.12.8'
3030

31-
- name: Install dependencies
31+
- name: Install documentation dependencies
3232
run: |
3333
python -m pip install --upgrade pip
34-
pip install -e . --no-deps
35-
pip install -r docs/source/requirements.txt
34+
pip install -e ".[docs]"
3635
3736
- name: Build docs
3837
run: |
3938
cd docs
40-
make html SPHINXOPTS="-W --keep-going"
39+
make html SPHINXOPTS="-W --keep-going"

.github/workflows/ruff.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI - Ruff Linting
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
ruff:
13+
name: Ruff Linting
14+
runs-on: ubuntu-latest
15+
if: |
16+
github.event_name == 'push' ||
17+
(
18+
github.event_name == 'pull_request' &&
19+
github.repository != github.event.pull_request.head.repo.full_name
20+
)
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
25+
- name: Run Ruff
26+
uses: astral-sh/ruff-action@v3
27+
with:
28+
version: "0.15.6"
29+
args: "check"

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ venv/
129129
ENV/
130130
env.bak/
131131
venv.bak/
132+
*env/
132133

133134
# Spyder project settings
134135
.spyderproject
@@ -164,4 +165,4 @@ cython_debug/
164165
*.sif
165166
*.bak
166167

167-
docs/source/generated/
168+
docs/source/generated/

.readthedocs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ build:
88

99
python:
1010
install:
11-
- requirements: docs/source/requirements.txt
11+
- method: pip
12+
path: .
13+
extra_requirements:
14+
- docs
1215

1316
sphinx:
1417
configuration: docs/source/conf.py

CONTRIBUTING.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,23 @@ pytest tests/test_sequence_interpolator.py # single file
2929

3030
All sources are in the `docs/` folder. To build locally:
3131

32-
1. Install Sphinx and the ReadTheDocs theme:
32+
1. Install the documentation dependencies:
3333
```bash
34-
pip install sphinx sphinx-rtd-theme
34+
pip install -e ".[docs]"
3535
```
36+
3637
2. From inside the `docs/` folder:
3738
```bash
39+
cd docs
3840
make clean html
3941
```
42+
4043
3. Open `docs/build/html/index.html` in your browser.
4144

4245
## Pull Requests
4346

47+
Before submitting a PR, please open an issue to discuss your proposed change. PRs that merely reorganize or copy existing code without clear motivation, or that don't align with the project's direction, will be closed without review. Maintainer time is limited — please use it respectfully.
48+
4449
- Keep PRs focused; one logical change per PR.
4550
- All existing tests must pass; add tests for new behavior.
4651
- Code style checks and type checking must pass.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
Experanto is a Python package designed for interpolating recordings and stimuli in neuroscience experiments. It enables users to load single or multiple experiments and create efficient dataloaders for machine learning applications.
44

5+
> [!IMPORTANT]
6+
> If you're interested in contributing or looking for a **Google Summer of Code** project, we discuss ideas and planned features in this [ideas thread](https://github.com/sensorium-competition/experanto/discussions/101) — please share your thoughts there before opening a PR.
7+
58
## Features
69

710
- **Unified Experiment Interface**: Load and query multi-modal neuroscience data (neural responses, eye tracking, treadmill, visual stimuli) through a single `Experiment` class

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"sphinx.ext.mathjax",
2929
"sphinx.ext.intersphinx",
3030
"sphinx.ext.viewcode",
31+
"myst_parser",
3132
]
3233

3334
# -- Autosummary settings ----------------------------------------------------
@@ -77,7 +78,6 @@
7778
"cv2",
7879
"pandas",
7980
"hydra",
80-
"omegaconf",
8181
"jaxtyping",
8282
"plotly",
8383
"optree",

docs/source/contributing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```{include} ../../CONTRIBUTING.md
2+
```

docs/source/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ Issues with the package can be submitted at our `GitHub Issues page <https://git
2424
concepts/demo_dataset
2525
concepts/demo_multisession
2626

27+
.. toctree::
28+
:maxdepth: 1
29+
:caption: Development
30+
31+
contributing
32+
2733
.. toctree::
2834
:maxdepth: 2
2935
:caption: API Reference

0 commit comments

Comments
 (0)