Skip to content

Conversation

@KaushikMalapati
Copy link
Contributor

Description

  • Removed trailing whitespaced
  • Replaced legacy backticks with $() notation
  • Quoted these variables - opt_dir, USER, EXP, HUTCH, EXE
  • Assigning ret_val2
  • Added -r flag to read username
  • Removed unused ARGSTR variable

Motivation and Context

How Has This Been Tested?

Interactively, opens the window and gives the same cli output as the last version of this

Where Has This Been Documented?

@KaushikMalapati KaushikMalapati requested a review from a team as a code owner July 23, 2025 20:37
@KaushikMalapati
Copy link
Contributor Author

I've tried this my version and latest released with a few different experiements that show runs in their elogs, but it always says there are 0 runs found. Do I need to be on a specific host/environment to see xtc files?

@silkenelson
Copy link
Collaborator

This only works for LCLS1 and you need to run it on S3DF - I don't remember if I updated this to work work on S3DF (paths may need to be different etc), so there is a chance it actually does not work. So try on S3DF on a recent XCS or CXI experiment - that has the highest chance of working. My vague recollection is that the last times I used it I change to the correct files in the GUI.

@KaushikMalapati
Copy link
Contributor Author

I think I found one that works
image

@silkenelson
Copy link
Collaborator

I'll approve this. Looking for data under /reg/d/... is not particularly useful, but that is not part of this cleanup.

Copy link
Collaborator

@silkenelson silkenelson left a comment

Choose a reason for hiding this comment

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

Looks good. At some point we need to make this do something useful again as well.

@KaushikMalapati KaushikMalapati merged commit 0a55eb6 into pcdshub:master Jul 23, 2025
2 checks passed
@KaushikMalapati KaushikMalapati deleted the configdb_readxtc branch July 23, 2025 23:28
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