From 9e7de8bb10131a53e15b42598d93b0e505f0529b Mon Sep 17 00:00:00 2001 From: josh-deb Date: Fri, 18 Oct 2024 19:49:23 -0700 Subject: [PATCH] pre-commit --- beams/tests/artifacts/im2l0_test.json | 2 +- beams/tree_config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/beams/tests/artifacts/im2l0_test.json b/beams/tests/artifacts/im2l0_test.json index 6a71020..3250858 100644 --- a/beams/tests/artifacts/im2l0_test.json +++ b/beams/tests/artifacts/im2l0_test.json @@ -104,4 +104,4 @@ ] } } -} \ No newline at end of file +} diff --git a/beams/tree_config.py b/beams/tree_config.py index bcdecd4..1d5467d 100644 --- a/beams/tree_config.py +++ b/beams/tree_config.py @@ -274,7 +274,7 @@ def work_func(comp_condition: Evaluatable) -> py_trees.common.Status: self.do_once = True # Set to running - value = caget(self.pv, as_string=isinstance(self.value, str)) # double caget, this is uneeded as currently the comp_condition has caget + value = caget(self.pv, as_string=isinstance(self.value, str)) # double caget, this is uneeded as currently the comp_condition has caget if comp_condition(): self.do_once = False