pcdshub / hutch-python

Launcher and config reader for LCLS interactive IPython sessions
https://pcdshub.github.io/hutch-python/
Other
0 stars 18 forks source link

Warning for Development Packages #157

Open teddyrendahl opened 5 years ago

teddyrendahl commented 5 years ago

Expected Behavior

We allow users to hack the environment with devpath. This is necessary for quick iteration on the beamlines. However, it is an issue when debugging if we are running a non-released version of a package. It would be nice to have warning message at the top as a reminder that we have hacked our environment. This will show up in the log and also alert us when we launch that we have hacked something together ...

ZLLentz commented 5 years ago

Quick thought: let's warn twice. Once at the start of the load and once at the end. That way you won't miss it if the load is 5 billion lines long.