Skip to content

Commit 455b4fd

Browse files
authored
Add parallax port (#83)
* Add parallax port * Bump version
1 parent 9c9148b commit 455b4fd

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

models/csharp/EphysLinkModels.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public struct EphysLinkOptions
3737
public bool UseProxy;
3838
public string ProxyAddress;
3939
public int MpmPort;
40+
public int ParallaxPort;
4041
public string Serial;
4142

4243
public EphysLinkOptions(
@@ -47,6 +48,7 @@ public EphysLinkOptions(
4748
bool useProxy,
4849
string proxyAddress,
4950
int mpmPort,
51+
int parallaxPort,
5052
string serial
5153
)
5254
{
@@ -57,6 +59,7 @@ string serial
5759
UseProxy = useProxy;
5860
ProxyAddress = proxyAddress;
5961
MpmPort = mpmPort;
62+
ParallaxPort = parallaxPort;
6063
Serial = serial;
6164
}
6265
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"description": "Options for running Ephys Link.\n\nAttributes:\n background: Whether to skip the GUI and run using CLI arguments.\n ignore_updates: Whether to ignore updates.\n type: Type of manipulator platform to use.\n debug: Whether to print debug messages.\n use_proxy: Whether to use VBL proxy service.\n proxy_address: Address of the proxy service.\n mpm_port: Port for New Scale MPM HTTP server.\n serial: Serial port for emergency stop.", "properties": {"Background": {"default": false, "title": "Background", "type": "boolean"}, "IgnoreUpdates": {"default": false, "title": "Ignoreupdates", "type": "boolean"}, "Type": {"default": "ump-4", "title": "Type", "type": "string"}, "Debug": {"default": false, "title": "Debug", "type": "boolean"}, "UseProxy": {"default": false, "title": "Useproxy", "type": "boolean"}, "ProxyAddress": {"default": "proxy2.virtualbrainlab.org", "title": "Proxyaddress", "type": "string"}, "MpmPort": {"default": 8080, "maximum": 49151, "minimum": 1024, "title": "Mpmport", "type": "integer"}, "Serial": {"default": "no-e-stop", "title": "Serial", "type": "string"}}, "title": "EphysLinkOptions", "type": "object"}
1+
{"description": "Options for running Ephys Link.\n\nAttributes:\n background: Whether to skip the GUI and run using CLI arguments.\n ignore_updates: Whether to ignore updates.\n type: Type of manipulator platform to use.\n debug: Whether to print debug messages.\n use_proxy: Whether to use VBL proxy service.\n proxy_address: Address of the proxy service.\n mpm_port: Port for New Scale MPM HTTP server.\n serial: Serial port for emergency stop.", "properties": {"Background": {"default": false, "title": "Background", "type": "boolean"}, "IgnoreUpdates": {"default": false, "title": "Ignoreupdates", "type": "boolean"}, "Type": {"default": "ump-4", "title": "Type", "type": "string"}, "Debug": {"default": false, "title": "Debug", "type": "boolean"}, "UseProxy": {"default": false, "title": "Useproxy", "type": "boolean"}, "ProxyAddress": {"default": "proxy2.virtualbrainlab.org", "title": "Proxyaddress", "type": "string"}, "MpmPort": {"default": 8080, "maximum": 49151, "minimum": 1024, "title": "Mpmport", "type": "integer"}, "ParallaxPort": {"default": 8081, "maximum": 49151, "minimum": 1024, "title": "Parallaxport", "type": "integer"}, "Serial": {"default": "no-e-stop", "title": "Serial", "type": "string"}}, "title": "EphysLinkOptions", "type": "object"}

src/vbl_aquarium/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.1"
1+
__version__ = "1.1.0"

src/vbl_aquarium/models/ephys_link.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class EphysLinkOptions(VBLBaseModel):
3232
use_proxy: bool = False
3333
proxy_address: str = "proxy2.virtualbrainlab.org"
3434
mpm_port: int = Field(default=8080, ge=1024, le=49151)
35+
parallax_port: int = Field(default=8081, ge=1024, le=49151)
3536
serial: str = "no-e-stop"
3637

3738

0 commit comments

Comments
 (0)