Skip to content

Commit

Permalink
Merge pull request #60 from AllenNeuralDynamics:bc/update-bonsai
Browse files Browse the repository at this point in the history
Update workflows to latest package version
  • Loading branch information
bruno-f-cruz authored Jul 16, 2024
2 parents f14ce9c + ea7a830 commit 9629b92
Show file tree
Hide file tree
Showing 6 changed files with 262 additions and 356 deletions.
201 changes: 107 additions & 94 deletions bonsai/Bonsai.config

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bonsai/setup.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if (!(Test-Path "./Bonsai.exe")) {
Invoke-WebRequest "https://github.com/bonsai-rx/bonsai/releases/download/2.8.3/Bonsai.zip" -OutFile "temp.zip"
Invoke-WebRequest "https://github.com/bonsai-rx/bonsai/releases/download/2.8.5/Bonsai.zip" -OutFile "temp.zip"
Move-Item -Path "NuGet.config" "temp.config"
Expand-Archive "temp.zip" -DestinationPath "." -Force
Move-Item -Path "temp.config" "NuGet.config" -Force
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class AxisConfiguration(BaseModel):

class AindManipulatorCalibrationInput(BaseModel):
full_step_to_mm: ManipulatorPosition = Field(
default=(ManipulatorPosition(x=0.010, y1=0.010, y2=0.010, z=0.010)), title="Full step to mm. Used to convert steps to SI Units"
default=(ManipulatorPosition(x=0.010, y1=0.010, y2=0.010, z=0.010)),
title="Full step to mm. Used to convert steps to SI Units",
)
axis_configuration: List[AxisConfiguration] = Field(
default=[
Expand Down
2 changes: 1 addition & 1 deletion src/DataSchemas/aind_behavior_services/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from pathlib import Path
from string import capwords
from subprocess import CompletedProcess, run
from typing import Any, Dict, List, NewType, Optional, Type, Union
from typing import Any, Dict, List, Optional, Type, Union

from pydantic import BaseModel, PydanticInvalidForJsonSchema
from pydantic.json_schema import (
Expand Down
2 changes: 1 addition & 1 deletion src/aind_manipulator_calibration.bonsai
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<WorkflowBuilder Version="2.8.2"
<WorkflowBuilder Version="2.8.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p1="clr-namespace:AindBehaviorServices.AindManipulatorCalibrationRig;assembly=Extensions"
xmlns:rx="clr-namespace:Bonsai.Reactive;assembly=Bonsai.Core"
Expand Down
Loading

0 comments on commit 9629b92

Please sign in to comment.