nsls-ii-esm-2 / profile_collection Goto Github PK
View Code? Open in Web Editor NEWIPython startup files for collection at ESM-2
License: BSD 3-Clause "New" or "Revised" License
IPython startup files for collection at ESM-2
License: BSD 3-Clause "New" or "Revised" License
BEST_YaxisTuple
does not have position
attribute in 41-ESM_motion.py
.
This error was observed during the 2020-2.0 deployment visit.
xf21id1-ws4 # ESM-2 main collection machine
profile_collection
bsui
remotely (does it touch any hardware?) - use git grep .put
or git grep caput
current_env_tag
in the production
file$ su - <your-controls-account>
$ sudo su -
# conda activate base # should be activated by default, but just in case.
# conda install conda -c https://repo.anaconda.com/pkgs/main/
$ git tag -a 2020C2.1
Before 2021C1.0 deployment.
~/.bashrc
, if necessary, update the logging environment variables to use directory /var/log/bluesky/...
and add umask 0002
.
umask u=rwx,g=rwx,o=rx # 0002
export BLUESKY_LOG_FILE=/var/log/bluesky/bluesky.log
export BLUESKY_IPYTHON_LOG_FILE=/var/log/bluesky/bluesky_ipython.log
sudo mkdir /var/log/bluesky
sudo chown -Rv xf21id2:xf21id2 /var/log/bluesky
sudo chmod -Rv g+rws /var/log/bluesky
source ~/.bashrc
.PersistentDict
to bug-fixed version (see the updated gist snippet: https://gist.github.com/jklynch/a4366b8900ec0c03883403455ae711b2). $ BS_ENV=collection-2021-1.0 bsui
It may be necessary to disable jedi
in ipython
. Add this to the ipython
command line arguments inbsui
:
--IPCompleter.use_jedi=False
from databroker import catalog
cat = catalog['xpeem']
cat[-1].primary.read()
Tag the updated profile as 2021C1.0
$ git tag -a 2021C1.0
Enter a message such as After 2021C1.0 deployment.
Open and merge a PR against https://github.com/NSLS-II/playbooks setting current_env_tag="2021-1.0"
for the ESM-2 beamline
Update BSUI via ansible to use the new environment (http://nsls-ii.github.io/deployment/upgrading-beamlines.html#change-bsui-s-default-environment)
$ ansible-playbook -i production update_default_vars.yml --limit=ESM-2 -kK
profile_collection
bsui
remotely (does it touch any hardware?) - use git grep .put
or git grep caput
RE(Eph.move_to(100, grating='600', EPU='105', shutter='open', branch='B'))
~/.bashrc
add the following and remember to source ~/.bashrc
afterward.
export BLUESKY_LOG_FILE=/var/log/bluesky/bluesky.log
export BLUESKY_IPYTHON_LOG_FILE=/var/log/bluesky/bluesky_ipython.log
umask 0002
chown xf21id2:xf21id2 /var/log/bluesky/
chmod g+rws /var/log/bluesky/
path=/opt/conda...
from '~/.bashrc, replaced with
/etc/profile.d/conda.sh,
/etc/profile.d/proxy.sh`00-startup.py
https://gist.github.com/jklynch/a4366b8900ec0c03883403455ae711b2BS_ENV=collection-2020-2.0rc7-1 bsui
suitcase 0.7.0
: conda install suitcase=0.7.0
.value
-> .get()
if it's in a Device
, or with yield from bps.read()
if in a planhistory.sqlite
issue - see https://blueskyproject.io/bluesky/metadata.html#persistence-between-sessionsRE(LEEM_plan(Eph.move_to(100, grating='300', EPU='105', shutter='open', branch='B'))
RE(LEEM_plan(Eph.move_to(100, grating='300', EPU=None, E_start=110, E_stop=112, E_step=0.5))
2020C2.0
ophyd logging was set to WARNING in 00-base.py
Use a more up-to-date HDF5 suitcase similar to suitcase-nxsas.
Added during deployment 2020-2 visit.
Please use newer labels feature.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.