Skip to content

Commit

Permalink
chore: Build Models
Browse files Browse the repository at this point in the history
  • Loading branch information
kjy5 authored and github-actions[bot] committed Jul 5, 2024
1 parent 0d2ecb0 commit 2b08d5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions models/csharp/EphysLinkModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,17 @@ public struct EphysLinkOptions
public bool Debug;
public bool UseProxy;
public string ProxyAddress;
public int Port;
public int MpmPort;
public string Serial;

public EphysLinkOptions(bool background, bool ignoreUpdates, string type, bool debug, bool useProxy, string proxyAddress, int port, int mpmPort, string serial)
public EphysLinkOptions(bool background, bool ignoreUpdates, string type, bool debug, bool useProxy, string proxyAddress, int mpmPort, string serial)
{
Background = background;
IgnoreUpdates = ignoreUpdates;
Type = type;
Debug = debug;
UseProxy = useProxy;
ProxyAddress = proxyAddress;
Port = port;
MpmPort = mpmPort;
Serial = serial;
}
Expand Down
2 changes: 1 addition & 1 deletion models/schemas/ephys_link/EphysLinkOptions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"description": "Options for running Ephys Link.\n\n:param background: Whether to skip the GUI and run using CLI arguments.\n:type background: bool\n:param ignore_updates: Whether to ignore updates.\n:type ignore_updates: bool\n:param type: Type of manipulator platform to use.\n:type type: str\n:param debug: Whether to print debug messages.\n:type debug: bool\n:param use_proxy: Whether to use VBL proxy service.\n:type use_proxy: bool\n:param proxy_address: Address of the proxy service.\n:type proxy_address: str\n:param port: HTTP port to serve on or connect to (if using the proxy).\n:type port: int\n:param mpm_port: Port for New Scale MPM HTTP server.\n:type mpm_port: int\n:param serial: Serial port for emergency stop.\n:type serial: str", "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"}, "Port": {"default": 8081, "maximum": 49151, "minimum": 1024, "title": "Port", "type": "integer"}, "MpmPort": {"default": 8080, "maximum": 49151, "minimum": 1024, "title": "Mpmport", "type": "integer"}, "Serial": {"default": "no-e-stop", "title": "Serial", "type": "string"}}, "title": "EphysLinkOptions", "type": "object"}
{"description": "Options for running Ephys Link.\n\n:param background: Whether to skip the GUI and run using CLI arguments.\n:type background: bool\n:param ignore_updates: Whether to ignore updates.\n:type ignore_updates: bool\n:param type: Type of manipulator platform to use.\n:type type: str\n:param debug: Whether to print debug messages.\n:type debug: bool\n:param use_proxy: Whether to use VBL proxy service.\n:type use_proxy: bool\n:param proxy_address: Address of the proxy service.\n:type proxy_address: str\n:param mpm_port: Port for New Scale MPM HTTP server.\n:type mpm_port: int\n:param serial: Serial port for emergency stop.\n:type serial: str", "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"}

0 comments on commit 2b08d5e

Please sign in to comment.