simonsobs / socs

Simons Observatory specific OCS agents.
BSD 2-Clause "Simplified" License
12 stars 12 forks source link

Changed string handling to account for multiple responses #662

Closed bbixler500 closed 2 months ago

bbixler500 commented 2 months ago

Attempts to fix ValueError when multiple values are returned because of timeout as is discussed in #651

Description

Changes internal logic so that only the most recent response string is used

Motivation and Context

Attempt to fix #651

How Has This Been Tested?

This has not been tested as of yet and I will update with a comment when it has.

Types of changes

Checklist:

ykyohei commented 2 months ago

@bbixler500 The test is failed. Maybe we need to fix the test?

bbixler500 commented 2 months ago

I'm not sure what these test errors are for. They seem to be in relation to the Lakeshore240 and Lakeshore425 so I don't know why they are showing up here

BrianJKoopman commented 2 months ago

I'm not sure what these test errors are for. They seem to be in relation to the Lakeshore240 and Lakeshore425 so I don't know why they are showing up here

Sorry, this was caused by a new release of OCS. Fixed in #664. Please merge in the latest from main.