Skip to content

Commit 65abf17

Browse files
authored
Merge branch 'VirtualBrainLab:main' into parallax
2 parents 97a23ec + 37d4c43 commit 65abf17

18 files changed

Lines changed: 340 additions & 220 deletions

.github/workflows/code-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
token: ${{ secrets.WORKFLOW_COMMIT }}
4848

4949
- name: 🔭 Install UV
50-
uses: astral-sh/setup-uv@v5
50+
uses: astral-sh/setup-uv@v6
5151
with:
5252
enable-cache: true
5353
cache-dependency-glob: "**/pyproject.toml"

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
ref: ${{ github.head_ref }}
3131

3232
- name: 🔭 Install UV
33-
uses: astral-sh/setup-uv@v5
33+
uses: astral-sh/setup-uv@v6
3434
with:
3535
enable-cache: true
3636
cache-dependency-glob: "**/pyproject.toml"

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
ref: ${{ github.head_ref }}
2727

2828
- name: 🔭 Install UV
29-
uses: astral-sh/setup-uv@v5
29+
uses: astral-sh/setup-uv@v6
3030
with:
3131
enable-cache: true
3232
cache-dependency-glob: "**/pyproject.toml"
@@ -58,7 +58,7 @@ jobs:
5858
ref: ${{ github.head_ref }}
5959

6060
- name: 🔭 Install UV
61-
uses: astral-sh/setup-uv@v5
61+
uses: astral-sh/setup-uv@v6
6262
with:
6363
enable-cache: true
6464
cache-dependency-glob: "**/pyproject.toml"

.idea/ephys-link.iml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Electrophysiology Manipulator Link
22

33
[![PyPI version](https://badge.fury.io/py/ephys-link.svg)](https://badge.fury.io/py/ephys-link)
4-
[![Deploy Documentation](https://github.com/VirtualBrainLab/ephys-link/actions/workflows/deploy-docs.yml/badge.svg)](https://github.com/VirtualBrainLab/ephys-link/actions/workflows/deploy-docs.yml)
5-
[![Pydantic v2](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json)](https://pydantic.dev)
64
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
5+
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
76
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
7+
[![Pydantic v2](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json)](https://pydantic.dev)
88
[![Checked with pyright](https://microsoft.github.io/pyright/img/pyright_badge.svg)](https://microsoft.github.io/pyright/)
99

1010
<!-- [![Build](https://github.com/VirtualBrainLab/ephys-link/actions/workflows/build.yml/badge.svg)](https://github.com/VirtualBrainLab/ephys-link/actions/workflows/build.yml) -->
@@ -19,17 +19,18 @@ to communicate with manipulators used in electrophysiology experiments.
1919

2020
# Installation
2121

22-
## Launch from Pinpoint (Recommended)
22+
## Pinpoint (Recommended)
2323

2424
Pinpoint comes bundled with the correct version of Ephys Link. If you are using Pinpoint on the same computer your
25-
manipulators are connected to, you can launch the server from within Pinpoint. Follow the instructions in
26-
the [Pinpoint documentation](https://virtualbrainlab.org/pinpoint/tutorials/tutorial_ephys_link.html#configure-and-launch-ephys-link).
25+
manipulators are connected to, you can launch the server from within Pinpoint. See the documentation
26+
on [connecting from Pinpoint](../usage/using_ephys_link.md#connecting-to-pinpoint).
27+
28+
## Install as a Standalone Executable
2729

28-
## Install as Standalone Executable
30+
Download the latest standalone executable or zip from
31+
the [releases page](https://github.com/VirtualBrainLab/ephys-link/releases/latest).
2932

30-
1. Download the latest standalone executable or zip from
31-
the [releases page](https://github.com/VirtualBrainLab/ephys-link/releases/latest).
32-
2. Double-click the executable file to start.
33+
Then see the [usage documentation](../usage/starting_ephys_link.md) for how to run the server.
3334

3435
# Documentation and More Information
3536

docs/development/adding_a_manipulator.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ read [how the system works first](../home/how_it_works.md) before proceeding.
66

77
## Set Up for Development
88

9-
1. Fork the [Ephys Link repository](https://github.com/VirtualBrainLab/ephys-link).
9+
1. Fork the [Ephys Link repository](https://github.com/VirtualBrainLab/ephys-link). If you're new to contributing, we
10+
recommend
11+
reading [this guide](https://docs.github.com/en/get-started/exploring-projects-on-github/contributing-to-a-project)
12+
by GitHub.
1013
2. Follow the instructions for [installing Ephys Link for development](index.md#installing-for-development) to get all
1114
the necessary dependencies and tools set up. In this case, you'll want to clone your fork.
1215
3. (Optional) Familiarize yourself with the [repo's organization](code_organization.md).

docs/development/index.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,25 @@ package in editable mode.
2626

2727
If you encounter any dependency issues (particularly with `aiohttp`), try installing the latest Microsoft Visual C++
2828
(MSVC v143+ x86/64) and the Windows SDK (10/11)
29-
via [Visual Studio Build Tools Installer](https://visualstudio.microsoft.com/visual-cpp-build-tools/).
29+
via [Visual Studio Build Tools Installer](https://visualstudio.microsoft.com/visual-cpp-build-tools/).
30+
31+
## Contributing Code
32+
33+
We recommend first time contributors to
34+
read [this guide](https://docs.github.com/en/get-started/exploring-projects-on-github/contributing-to-a-project) by
35+
GitHub to understand how to contribute changes.
36+
37+
## Deploying New Releases
38+
39+
!!! note
40+
41+
Only VBL members can make official releases.
42+
43+
There is a [GitHub action](https://github.com/VirtualBrainLab/ephys-link/actions/workflows/release.yml) configured to
44+
build and publish Ephys Link as a standalone EXE and as a PyPI package. The trigger is to make and push a new tag.
45+
46+
```bash
47+
git switch main
48+
git tag v2.0.0
49+
git push origin --tags
50+
```

docs/home/installation.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,39 @@
33
## Prerequisites
44

55
1. An **x86 Windows PC is required** to run the server.
6-
2. For Sensapex devices, the controller unit must be connected via an ethernet
7-
cable and powered. A USB-to-ethernet adapter is acceptable. For New Scale manipulators,
6+
2. For Sensapex devices, the controller unit must be powered and connected via an Ethernet
7+
cable to the computer running Ephys Link. A USB-to-Ethernet adapter is acceptable. For New Scale manipulators,
88
the controller unit must be connected via USB and be powered by a 6V power
99
supply.
1010
3. To use the emergency stop feature, ensure a keyboard is attached.
1111

12-
## Pinpoint (Recommended Method)
12+
## Pinpoint (Recommended)
1313

1414
Pinpoint comes bundled with the correct version of Ephys Link. If you are using Pinpoint on the same computer your
1515
manipulators are connected to, you can launch the server from within Pinpoint. See the documentation
1616
on [connecting from Pinpoint](../usage/using_ephys_link.md#connecting-to-pinpoint).
1717

1818
## Install as a Standalone Executable
1919

20-
Download the latest standalone executable or zip from the [releases page](https://github.com/VirtualBrainLab/ephys-link/releases/latest).
20+
Download the latest standalone executable or zip from
21+
the [releases page](https://github.com/VirtualBrainLab/ephys-link/releases/latest).
2122

2223
Then see the [usage documentation](../usage/starting_ephys_link.md) for how to run the server.
2324

24-
## Install as a Python package
25+
## Install as a Python Package (Not Recommended)
2526

26-
Ephys Link uses the latest stable version of Python. It requires a minimum of Python 3.10.
27+
Ephys Link is a Python package released on PyPI and can be included in projects as such.
2728

28-
```bash
29-
pip install ephys-link
30-
```
31-
32-
or with [pipx](https://pipx.pypa.io/stable/) (recommended)
29+
**This is not the recommended method of using Ephys Link.** This is only for advanced
30+
use cases where Ephys Link is used as a library in another project. Ephys Link will exclusively support the latest
31+
version of Python its dependencies support.
3332

3433
```bash
35-
pipx install ephys-link
34+
pip install ephys-link
3635
```
3736

3837
Then see the [usage documentation](../usage/starting_ephys_link.md) for how to run the server.
3938

4039
## Install for Development
4140

42-
See [development documentation](../development/index.md#installing-for-development) for more information.
41+
See [development documentation](../development/index.md#installing-for-development) for more information.

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Electrophysiology Manipulator Link
22

33
[![PyPI version](https://badge.fury.io/py/ephys-link.svg)](https://badge.fury.io/py/ephys-link)
4-
[![Deploy Documentation](https://github.com/VirtualBrainLab/ephys-link/actions/workflows/deploy-docs.yml/badge.svg)](https://github.com/VirtualBrainLab/ephys-link/actions/workflows/deploy-docs.yml)
5-
[![Pydantic v2](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json)](https://pydantic.dev)
64
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
5+
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
76
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
7+
[![Pydantic v2](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json)](https://pydantic.dev)
88
[![Checked with pyright](https://microsoft.github.io/pyright/img/pyright_badge.svg)](https://microsoft.github.io/pyright/)
99

1010
The [Electrophysiology Manipulator Link](https://github.com/VirtualBrainLab/ephys-link)

0 commit comments

Comments
 (0)