pcdshub / pcdshub/engineering_tools

takepeds should stop if pedestal failed

Open
#96 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
Python
Stars
5
Forks
36
Avg merge
2d 17h
Merged PRs (30d)
3

Description

If pedestal failed for whatever reason, the script should stop. Currently, it looks like it still proceeds to post in the elog and tell users to call makepeds.

Should stop after this line: https://github.com/pcdshub/engineering_tools/blob/a608fb6e48770726b80462cd0fbeb9f776022319/scripts/takepeds#L6

set -e might work (hoping that take_pedestals gives non-zero status on error)?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect scripts/takepeds at the referenced line and the take_pedestals invocation. Verify how failure status is propagated, then ensure the script stops before posting to the elog or telling users to call makepeds; confirm the failure path behaves as intended.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.