Skip to content

Conversation

@silkenelson
Copy link
Collaborator

changes for RIXS pedestals in takepeds
determine LCLS1 vs LCLS2 experiment
use of the former script in makepeds
makepeds_psana2 also for axis (to be worked on more)
small bug fixes
use of segment number currently needed in deploy step

…elog post; add timedrun for pedestals runs in RIXS
…. Add option to see if this is an LCLS1 or LCLS2 experiment
…heck to interactive jungfrau running, deal with multi-segment detectors (may change soon)
@silkenelson silkenelson requested review from a team as code owners May 6, 2025 06:34
Co-authored-by: KaushikMalapati <80156796+KaushikMalapati@users.noreply.github.com>
Co-authored-by: KaushikMalapati <80156796+KaushikMalapati@users.noreply.github.com>
Co-authored-by: KaushikMalapati <80156796+KaushikMalapati@users.noreply.github.com>
Co-authored-by: KaushikMalapati <80156796+KaushikMalapati@users.noreply.github.com>
@KaushikMalapati
Copy link
Contributor

Once you look at all the comments, would you mind running these scripts again and making sure they work?

silkenelson and others added 5 commits May 6, 2025 08:25
Co-authored-by: KaushikMalapati <80156796+KaushikMalapati@users.noreply.github.com>
Co-authored-by: KaushikMalapati <80156796+KaushikMalapati@users.noreply.github.com>
Remove debug prints

Co-authored-by: KaushikMalapati <80156796+KaushikMalapati@users.noreply.github.com>
Co-authored-by: KaushikMalapati <80156796+KaushikMalapati@users.noreply.github.com>
fixed & a little more comments.
@tangkong
Copy link
Contributor

tangkong commented May 6, 2025

There are a lot of comments that defer fixes to different efforts. If we're not going to address them immediately, can we make issues for them so we don't lose track of them?

@KaushikMalapati
Copy link
Contributor

There are a lot of comments that defer fixes to different efforts. If we're not going to address them immediately, can we make issues for them so we don't lose track of them?

I only found two which I made issues for (the function for getting the experiment, and putting check_for_status in a try/except). Were there any others?

@KaushikMalapati
Copy link
Contributor

KaushikMalapati commented May 6, 2025

@silkenelson the trailing whitespace, eof, flake8, and isort jobs are failing. Can you commit the changes for those those? I think we can ignore the shellcheck errors for now.

@ZLLentz
Copy link
Member

ZLLentz commented May 6, 2025

fwiw I don't think any PR creator is obligated to spend time solving pre-existing problems unrelated to the PR, maybe we can just run ruff/precommit on this afterwards (see the dormant #270)

@KaushikMalapati
Copy link
Contributor

fwiw I don't think any PR creator is obligated to spend time solving pre-existing problems unrelated to the PR, maybe we can just run ruff/precommit on this afterwards (see the dormant #270)

Makes sense, I was assuming they were introduced here.

@ZLLentz
Copy link
Member

ZLLentz commented May 6, 2025

I guess it's possible some of them are, I didn't look so closely but I know many of them are not created here

@tangkong
Copy link
Contributor

tangkong commented May 6, 2025

I only found two which I made issues for (the function for getting the experiment, and putting check_for_status in a try/except). Were there any others?

Maybe two issues was too much for my goldfish memory. Looking through the comments this looks appropriate

Copy link
Member

@ZLLentz ZLLentz left a comment

Choose a reason for hiding this comment

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

I think everything here is good to merge
I do want a couple eyes on #270 so we can auto fix some of the incidentals

@silkenelson silkenelson merged commit f836202 into pcdshub:master May 6, 2025
1 of 2 checks passed
else:
# then ask.....outside of python
print('unknown_hutch')
sys.exit()
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't this sys.exit() need to be in the else block so that we don't return if we get the hutch from args.setExp?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Shoot, yes!

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.

5 participants