Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code cleanup needed in script.py #320

Open
sybenzvi opened this issue Dec 8, 2022 · 0 comments
Open

Code cleanup needed in script.py #320

sybenzvi opened this issue Dec 8, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sybenzvi
Copy link
Contributor

sybenzvi commented Dec 8, 2022

The flow of control in script.py is split into several parts depending on the user environment and mode of processing. For example: code to run one exposure vs. running the exposure monitor at KPNO vs. submitting to slurm at NERSC is executed in different code blocks. Changing the order of processes thus needs to be done in several places rather than just one, which is fragile and error-prone.

Investigate if it's possible to rationalize and consolidate script.py to reduce mistakes during minor updates.

@sybenzvi sybenzvi added the enhancement New feature or request label Dec 8, 2022
@sybenzvi sybenzvi self-assigned this Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants