nsls-ii-cms / profile_collection Goto Github PK
View Code? Open in Web Editor NEWIPython profile for data collection
License: BSD 3-Clause "New" or "Revised" License
IPython profile for data collection
License: BSD 3-Clause "New" or "Revised" License
profile_collection
bsui
remotely (does it touch any hardware?) - use git grep .put
or git grep caput
~/.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
00-startup.py
https://gist.github.com/jklynch/a4366b8900ec0c03883403455ae711b2BS_ENV=collection-2021-1.0
2021C1.0
profile_collection
bsui
remotely (does it touch any hardware?) - use git grep .put
or git grep caput
~/.bashrc
add the following and remember to source ~/.bashrc
afterward.
BLUESKY_LOG_FILE=/var/log/bluesky.log
BLUESKY_IPYTHON_LOG_FILE=/var/log/bluesky_ipython.log
00-startup.py
https://gist.github.com/jklynch/a4366b8900ec0c03883403455ae711b2BS_ENV=collection-2020-2.0rc7 bsui
.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-sessions2020C2.0
profile_collection
bsui
remotely (does it touch any hardware?) - use git grep .put
or git grep caput
current_env_tag
in the production
file (create new pull request for CMS)/opt/conda/.condarc
and conda
with ansible
$ ansible-playbook -i production install-base-conda.yml --limit=CMS -kK -vvvv
profile_collection
repository as-found as 2020C2.1
and push to GitHub
$ git tag 2020C2.1 -m "Before 2021C1.0 deployment"
$ getent group <beamline-group>
~/.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 xf11bm:<beamline-group> /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
jedi
in ipython
. Add this to the ipython
command line arguments inbsui
:
--IPCompleter.use_jedi=False
from databroker import catalog
cat = catalog['cms']
cat[-1].primary.read()
2021C1.0
$ git tag 2021C1.0 -m "After 2021C1.0 deployment"
current_env_tag="2021-1.0"
for the CMS beamlinebsui
via ansible to use the new environment (http://nsls-ii.github.io/deployment/upgrading-beamlines.html#change-bsui-s-default-environment)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.