Closed prjemian closed 1 year ago
cd ~/.ipython-bluesky; mv profile_{,2022_}bluesky/
ipython profile create --ipython-dir="${HOME}/.ipython-bluesky" bluesky
cp console/__start_bluesky_instrument__.py ${HOME}/.ipython-bluesky/profile_bluesky/startup/
With no local devices or plans configured, the new installation of bluesky starts!
There are problems with version info of some of the packages:
In [1]: RE.md["versions"]
Out[1]:
{'apstools': '0.1.dev8+g0c0ec98.d20221216',
'bluesky': '1.10.0',
'databroker': '1.2.5',
'epics': '3.5.0',
'h5py': '3.7.0',
'intake': '0.6.4',
'matplotlib': '3.6.2',
'numpy': '1.23.5',
'ophyd': '1.7.0',
'pyRestTable': '0.1.dev8+g0c0ec98.d20221216',
'spec2nexus': '0.1.dev8+g0c0ec98.d20221216'}
This is related to use of setuptools-scm.get_version()
in packages apstools, pyRestTable, and spec2nexus. Requires a fix (probably the same fix) in each of those.
Weird! The Lambda2M file in the old repo declares it provides support for the Eiger!
Somebody got confused with this file.
Actual Lambda2M support is in a branch.
(bluesky_2023_1) bash-4.4$ ./blueskyStarter.sh
/home/beams10/8IDIUSER/micromamba/envs/bluesky_2023_1/bin/python -- Python 3.10.8
Python 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:23:14) [GCC 10.4.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.7.0 -- An enhanced Interactive Python. Type '?' for help.
IPython profile: bluesky
Exception reporting mode: Minimal
/home/beams10/8IDIUSER/bluesky/instrument/_iconfig.py
Activating auto-logging. Current session state plus future input saved.
Filename : /home/beams10/8IDIUSER/bluesky/.logs/ipython_console.log
Mode : rotate
Output logging : True
Raw input log : False
Timestamping : True
State : active
I Fri-17:07:44 - Console logging: /home/beams10/8IDIUSER/bluesky/.logs/ipython_console.log
I Fri-17:07:44 - ############################################################ startup
I Fri-17:07:44 - logging started
I Fri-17:07:44 - logging level = 10
I Fri-17:07:44 - /home/beams10/8IDIUSER/bluesky/instrument/session_logs.py
I Fri-17:07:44 - /home/beams10/8IDIUSER/bluesky/instrument/collection.py
I Fri-17:07:44 - CONDA_PREFIX = /home/beams10/8IDIUSER/micromamba/envs/bluesky_2023_1
I Fri-17:07:44 - /home/beams10/8IDIUSER/bluesky/instrument/mpl/console.py
I Fri-17:07:45 - #### Bluesky Framework ####
I Fri-17:07:45 - /home/beams10/8IDIUSER/bluesky/instrument/framework/check_python.py
I Fri-17:07:45 - /home/beams10/8IDIUSER/bluesky/instrument/framework/check_bluesky.py
I Fri-17:07:49 - /home/beams10/8IDIUSER/bluesky/instrument/framework/initialize.py
I Fri-17:07:49 - using databroker catalog '8idi_xpcs'
I Fri-17:07:49 - using ophyd control layer: pyepics
I Fri-17:07:49 - /home/beams10/8IDIUSER/bluesky/instrument/framework/metadata.py
I Fri-17:07:49 - /home/beams10/8IDIUSER/bluesky/instrument/epics_signal_config.py
I Fri-17:07:49 - Using RunEngine metadata for scan_id
I Fri-17:07:50 - #### Devices ####
I Fri-17:07:50 - /home/beams10/8IDIUSER/bluesky/instrument/devices/ad_lambda2M.py
I Fri-17:07:50 - #### Callbacks ####
I Fri-17:07:50 - #### Plans ####
I Fri-17:07:50 - #### Utilities ####
I Fri-17:07:50 - #### Startup is complete. ####
In [1]: listobjects()
======== ================ ============ ========
name ophyd structure EPICS PV label(s)
======== ================ ============ ========
lambda2M Lambda2MDetector 8idLambda2m:
======== ================ ============ ========
We'll add support for the Eiger after the new year.
@keenanlang : The beam line will meet to discuss this on Monday.
Staff will develop prep function(s) for acquisitions once above steps are complete.
Keep mind: