nsls-ii-ios / profile_collection Goto Github PK
View Code? Open in Web Editor NEWipython / ophyd profiles for IOS
License: BSD 3-Clause "New" or "Revised" License
ipython / ophyd profiles for IOS
License: BSD 3-Clause "New" or "Revised" License
Many repos now have main
as a base branch. I'll rename the one for this repo now - creating this issue to document the change.
Just FYI: I put a GutHub support ticket (https://support.github.com/ticket/1008516) to de-fork this repo and to make it a normal repo. We are all set for now.
IOS would like to be able to run two or more scans simultaneously. Currently scan_id
will not be updated in this case.
profile_collection
bsui
remotely (does it touch any hardware?) - use git grep .put
or git grep caput
csxtools
is there~/.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
xf23id2-ws1 # main collection machine
xf23id2-ws2 # backup 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/opt/conda/.condarc
:
channel_priority: flexible
channels:
- nsls2forge
- defaults
create_default_packages:
- anaconda-client
- pip
envs_dirs:
- ~/conda_envs
- /opt/conda_envs
ssl_verify: false
show_channel_urls: True
$ su - <your-controls-account>
$ sudo su -
# conda activate base # should be activated by default, but just in case.
# conda install conda -c defaults
profile_collection
repository as-found as 2020C2.1
and push to GitHub
$ git tag 2020C2.1 -m "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 xf23id2:xf23id2 /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['iss']
cat[-1].primary.read()
2021C1.0
$ git tag 2021C1.0 -m "After 2021C1.0 deployment"
current_env_tag="2021-1.0"
for the ISS beamlinebsui
via ansible to use the new environment (http://nsls-ii.github.io/deployment/upgrading-beamlines.html#change-bsui-s-default-environment)The new ophyd may resolve the problem addressed by DodgyEpicsSignal.
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.