Skip to content

Change souk_readout_tools recommended branch from dev/1.3.0 to dev/1.5.0#1080

Closed
sr-cdf wants to merge 2 commits into
simonsobs:ukkid_agentfrom
sr-cdf:patch-1
Closed

Change souk_readout_tools recommended branch from dev/1.3.0 to dev/1.5.0#1080
sr-cdf wants to merge 2 commits into
simonsobs:ukkid_agentfrom
sr-cdf:patch-1

Conversation

@sr-cdf

@sr-cdf sr-cdf commented Jun 26, 2026

Copy link
Copy Markdown

Updated README to reflect the new branch version.

Description

changed readme.md

Motivation and Context

souk_readout_tools latest stable version is now 1.5.0

How Has This Been Tested?

its a readme

Types of changes

change the readme

Checklist:

I literally changed one number from 3 to 5 in two places

Updated README to reflect the new branch version.
Copilot AI review requested due to automatic review settings June 26, 2026 10:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the ukkid_controller documentation to recommend the newer souk_readout_tools branch (dev/1.5.0). However, it also includes substantial formatting/behavioral changes in ukkid_controller.py, which is a significantly broader scope than the PR title/description suggests.

Changes:

  • Update ukkid_controller README to recommend souk_readout_tools branch dev/1.5.0.
  • Reformat ukkid_controller.py (imports/whitespace) and modify behavior in several control-flow areas (notably mocked sweep loops and aborters).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
socs/agents/ukkid_controller/ukkid_controller.py Large reformat + behavior changes; includes issues in mock sweep loops and aborter return semantics.
socs/agents/ukkid_controller/README.md Updates recommended souk_readout_tools branch and cleans up formatting/whitespace.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +720 to +724
if session.status == 'running':
session.set_status('stopping')

if session.status != 'running':
return False, 'Aborted streaming RFSoc data.'
Comment on lines +806 to +825
while ((now - sweep_start_time) < loop_time_seconds):
now = time.time()
sweep_active_seconds = (now - sweep_start_time)
sweep_status_string = "MOCK: Data has been sweeping for %.1f seconds." % (now - sweep_start_time)

session.data = {"value": 'SESSION ' + sweep_status_string,
"timestamp": now}

# Format message for publishing to Feed
message = {'block_name': 'sweep_string',
'timestamp': now,
'data': {'value': 'FEED ' + sweep_status_string}}
self.agent.publish_to_feed('UKKID_feed', message)

# Also send this string to the log - discuss whether appropriate.
self.log.info(sweep_status_string)
time.sleep(1)
now = time.time()
self.log.info('MOCK: full_band_sweep: Sweep complete.')
return True, 'MOCK: full_band_sweep: Sweep complete.'
Comment on lines +1168 to +1172
if session.status == 'running':
session.set_status('stopping')

if session.status != 'running':
return False, 'Aborted full band sweep data.'
Comment on lines +1253 to +1272
while ((now - sweep_start_time) < loop_time_seconds):
now = time.time()
sweep_active_seconds = (now - sweep_start_time)
sweep_status_string = "Data has been sweeping for %.1f seconds." % (now - sweep_start_time)

session.data = {"value": 'SESSION ' + sweep_status_string,
"timestamp": now}

# Format message for publishing to Feed
message = {'block_name': 'sweep_string',
'timestamp': now,
'data': {'value': 'FEED ' + sweep_status_string}}
self.agent.publish_to_feed('UKKID_feed', message)

# Also send this string to the log - discuss wther appropriate.
self.log.info('LOG' + sweep_status_string)
time.sleep(1)
now = time.time()
self.log.info('narrow_band_sweep: Sweep complete.')
return True, 'narrow_band_sweep: Sweep complete.'
Comment on lines +1455 to +1459
if session.status == 'running':
session.set_status('stopping')

if session.status != 'running':
return False, 'Aborted narrow band sweep data.'
Comment on lines +56 to 57
readout server software that runs on the RFSoCs). **Use branch dev/1.5.0**
for compatibility with the ukkid_controller agent.
@sr-cdf sr-cdf closed this Jul 1, 2026
@sr-cdf sr-cdf deleted the patch-1 branch July 1, 2026 21:20
@sr-cdf

sr-cdf commented Jul 1, 2026

Copy link
Copy Markdown
Author

Confused about reported changes that I didn't make so abandoning this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants