Skip to content

Commit f2f39e7

Browse files
authored
Merge pull request #431 from AllenNeuralDynamics/dependency-upgrade-contraqctor
Upgrade contraqctor pin
2 parents 1a95afd + 9d256bd commit f2f39e7

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Changelog = "https://github.com/AllenNeuralDynamics/Aind.Behavior.VrForaging/rel
2828

2929
[project.optional-dependencies]
3030

31-
data = ["contraqctor<0.5.0"]
31+
data = ["contraqctor<0.6.0"]
3232

3333
launcher = [
3434
"aind-clabe[aind-services]>=0.7",

src/aind_behavior_vr_foraging/data_qc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def test_render_latency(self, max_latency: t.Optional[float] = None):
210210

211211
def make_qc_runner(dataset: contract.Dataset) -> qc.Runner:
212212
_runner = qc.Runner()
213-
loading_errors = dataset.load_all(strict=False)
213+
dataset.load_all(strict=False)
214214
exclude: list[contract.DataStream] = []
215215
rig: AindVrForagingRig = dataset["Behavior"]["InputSchemas"]["Rig"].data
216216

@@ -221,7 +221,7 @@ def make_qc_runner(dataset: contract.Dataset) -> qc.Runner:
221221
exclude.append(stream)
222222

223223
# Add the outcome of the dataset loading step to the automatic qc
224-
_runner.add_suite(qc.contract.ContractTestSuite(loading_errors, exclude=exclude), group="Data contract")
224+
_runner.add_suite(qc.contract.ContractTestSuite(dataset.collect_errors(), exclude=exclude), group="Data contract")
225225

226226
# Add Harp tests for ALL Harp devices in the dataset
227227
for stream in (_r := dataset["Behavior"]):

uv.lock

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)