Skip to content

ref: Implement BobParser - #275

Open
adedamola-sode wants to merge 8 commits into
mainfrom
ref/autofill-bob-parser
Open

adedamola-sode wants to merge 8 commits into
mainfrom
ref/autofill-bob-parser

Conversation

@adedamola-sode

Copy link
Copy Markdown
Collaborator

The current logic in main is to use the techui.yaml file to find the beamline parameters such as the location, description, remote opis files, this first commit changes things so it's fetched from the index.bob itself via macros defined in the first layer of the synoptic file (index.bob). This adds:

  1. A bob parser that calls on read bob with some adjustments to pick macros

@adedamola-sode adedamola-sode changed the title ref: changed the pipeline of main.py to go to bob_parser first ref: Implement BobParser Sep 29, 2026
@codecov

codecov Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.67%. Comparing base (8b44131) to head (d252295).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #275      +/-   ##
==========================================
+ Coverage   96.55%   96.67%   +0.12%     
==========================================
  Files          17       18       +1     
  Lines        1075     1144      +69     
==========================================
+ Hits         1038     1106      +68     
- Misses         37       38       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adedamola-sode
adedamola-sode marked this pull request as ready for review October 1, 2026 10:43
def _read_bob(self, path: Path):
tree, widgets = read_bob(path)
return tree.getroot(), widgets
tree, widget, _ = read_bob(path)

@OCopping OCopping Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
tree, widget, _ = read_bob(path)
tree, widgets, _ = read_bob(path)

I assume this variable was changed accidentally

This branch has not been deployed

No deployments
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