apsbits.utils.aps_functions#
APS utility helper functions#
Detect if this host is on an APS subnet. |
|
|
APS Data Management setup |
Functions
|
APS Data Management setup |
Detect if this host is on an APS subnet. |
- apsbits.utils.aps_functions.aps_dm_setup(dm_setup_file_path)[source]#
APS Data Management setup#
Read the bash shell script file used by DM to setup the environment. Parse any
export
lines and add their environment variables to this session. This is done by brute force here since the APS DM environment setup requires different Python code than bluesky and the two often clash.This setup must be done before any of the DM package libraries are called.