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

ENH: check that the path exists when registering a module/bin #105

Merged
merged 3 commits into from
Feb 23, 2022

Conversation

nrwslac
Copy link

@nrwslac nrwslac commented Feb 14, 2022

Description

Added a check in the if statement that verifies the module to be registered exists.

Motivation and Context

pydev_register will currently happily allow you to register modules that don't exist.
Closes #62

How Has This Been Tested?

This was tested by running the script with a module that exist and does not exist and checking to see what shows up in ~/pydev

Where Has This Been Documented?

@nrwslac nrwslac requested a review from ZryletTC February 14, 2022 18:16
scripts/pydev_register Outdated Show resolved Hide resolved
scripts/pydev_register Outdated Show resolved Hide resolved
@ZryletTC ZryletTC merged commit ee15cfb into pcdshub:master Feb 23, 2022
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.

pydev_register path verification
3 participants