Releases: pcdshub/hutch-python
Releases · pcdshub/hutch-python
v1.22.0 (2024-12-19)
Features
-
Add
pcdscalc.xray
to the calc namespace. -
Add top-level shortcuts to some of the most used calcs,
E2lam
,lam2E
,bragg_angle
,darwin_width
, andtransmission
.E2lam
is an alias forenergy_to_wavelength
andlam2E
is an alias forwavelength_to_energy
to match scientist expectations. -
Added ability to ignore specific upstream devices when loading hutch-python.
UPSTREAM
: The hutch's devices, and devices upstream from the requested hutch. If there are multiple paths to the requested hutch, all paths devices are loaded.STANDARD
: Devices gathered viaUPSTREAM
, plus devices that share the "beamline" field in happi with theUPSTREAM
devices. (The current standard)ALL
: All devices in the happi database. Use this option at your own risk.
Bugfixes
- Make test_create_arg agnostic to where pytest was invoked from
- Fix an issue where the user could clobber their own
elog
object in a way that would allow theElogPoster
utility to load and then fail at scan time.
Maintenance
- Updates documentation formatting for device load_level, and adds an ascii beamline map to the test suite
Contributors
- janeliu-slac
- tangkong
- vespos
- zllentz
Full Changelog: v1.21.0...v1.22.0
v1.21.0 (2024-08-20)
Features
- Automatically timeout and closes hutch-python sessions after the user has been
idle for a certain number of hours. The number of hours can be set in conf.yml
for each hutch. If no value is set the default timeout duration is 48 hours.
Maintenance
- Document some first-pass efforts at running hutch-python in jupyter notebooks.
- Fix an issue where an upstream numpy 2 incompatibilty was breaking the pypi builds.
Contributors
- janeliu-slac
- zllentz
v1.20.0 (2024-04-19)
Features
- Allow per-session separate ipython histories via
--hist-file
command-line argument. If omitted, default ipython behavior is used.
When--hist-file
is included with no argument, the history file
will be written a local operator console hard drive, if available.
An argument can be provided to use any file as the history.sqlite file.
Contributors
v1.19.0 (2024-04-15)
Features
-
Updates EpicsArch script, adding several debug/testin flags and ensuring
information is up-to-date. Includes:update_file
: feature that updates EpicsArch based on current questionnaire--softlink
: point arch file to new experiment via symbolic link--level
: specify a debug level--cds-items
: displays questionnaire data for a given run and experiment--link-path
: allows user to provide custom filepath for softlinks
-
Adds load_level conf.yaml key for choosing the method used to gather happi devices
Contributors
New Contributors
Full Changelog: v1.18.5...v1.19.0
v1.18.5 (2023-09-14)
Maintenance
- Strips whitespace from PVs gathered during cam_load routine.
Contributors
Full Changelog: v1.18.4...v1.18.5
v1.18.4 (2023-07-26)
Maintenance
- Unpin strict pyqt pin, we now just require pyqt5 of any flavor.
- Fix a bug where non-conda installs and non-standard conda installs
(like mambabuild intermediates) would be unable to use the
hutch-python --create
cookiecutter tool. - Add send and recv methods to the fake zmq socket because newer
versions of the lcls2 daq code are expecting recv. - Fix pyproject.toml typo docs -> doc.
- Update requirements.txt for accuracy now that
psdaq-control-minimal is available on pypi. - Include docs-versions-menu for the sphinx docs builds.
Contributors
v1.18.3 (2023-04-11)
v1.18.2 (2023-04-11)
Maintenance
- Fix an issue where the test suite would not run with the latest
lightpath. This was a test-suite only bug, not a runtime
function bug. - Fix an issue where pypi/conda upload builds would not have
proper authentication.
Contributors
- zllentz
v1.18.1 (2023-04-04)
Bugfixes
- Fix an edge case where all hutch devices may be skipped in the load
if all of them are missing from lightpath.
Maintenance
- hutch-python no longer uses Travis CI and has migrated to GitHub Actions for
continuous integration, testing, and documentation deployment. - hutch-python has been migrated to use setuptools-scm, replacing versioneer, as its
version-string management tool of choice. - hutch-python has been migrated to use the modern
pyproject.toml
, replacing
setup.py
and related files. - Older language features and syntax found in the repository have been updated
to Python 3.9+ standards by way ofpyupgrade
. - Sphinx 6.0 is now supported for documentation building.
docs-versions-menu
replacesdoctr-versions-menu
anddoctr
usage
for documentation deployment on GitHub Actions. The deployment key is now no
longer required. - pyupgrade was used to update annotations, and pycln was used to clean up
imports.
Contributors
v1.18.0 (2022-10-25)
Features
- Updates database loading to utilize updated lightpath (v1.0.0)
for loading devices. This makes the newer, reworked version of
lightpath available in the session instead of the old version.
Maintenance
- Fix issues with running tests offline on LCLS servers.
Contributors
- tangkong
- zllentz
Full Changelog: v1.17.0...v1.18.0