Releases: pcdshub/hutch-python
Releases · pcdshub/hutch-python
v1.11.0 (2021-06-04)
Features
- Added ability to opt-in to specific Ophyd Object instance DEBUG logs. Call
logs.log_objects(obj1, obj2)
to configure it forobj1
andobj2
,
for example, and clear it by way oflogs.log_objects_off()
. - Added a new
logs
object in the IPython namespace, offering easy access
to common log-related tools.
Fixes and Maintenance
- Refactored logging setup to be more modular and slightly better documented.
The ophyd logger is no longer "hushed", but is now filtered through the
newObjectFilter
mechanism.
v1.10.1 (2021-06-03)
Bugfixes
- Fix an issue where ophyd signals were configured to wait "forever" for their
write timeouts. By default, this is now a 5 second timeout instead of no
timeout. This unfortunate default resulted in some cases where PVs would
get "stuck" in a "set_and_wait" that would never end. In ophyd, this default
is intentionally left to infinite to satisfy the common case where signals
don't update to the final value for a long period of time.
These cases are very uncommon at the LCLS.
v1.10.0 (2021-04-15)
Features
IterableNamespace
has been upgraded to beHelpfulNamespace
, while
maintaining a backward-compatible import name. This class supports the
IPython "pretty repr" and HTML repr hooks to provide user-friendly tables of
items available in the namespace, as well as direct keyword-access to
elements of the namespace.- All objects loaded in load_conf have been annotated with what they are used
for in the Python session. These annotations are available when viewing
theHelpfulNamespace
pretty and HTML reprs.
Bugfixes
- Fix an issue where the get_current_hutch scripts were using a deprecated and
removed argument structure.
v1.9.1 (2021-02-10)
Bugfixes
- Display small values in scientific notation during scans, rather than as
0.000000. Similarly handle very large values. - Include the BestEffortCallback that we are using in the hutch's namespace
for easy access.
v1.9.0 (2020-12-22)
Features
- Add
epicsarch-qs
script that will handle creatingepicsArch
files
from the LCLS questionnaire. - Include plans from
nabs
in the default namespaces. - Include calcs from
pcdsdevices
in the default namespaces.
Bugfixes
- Fix issue where tab completion filters would not work due to
IPython
quirks in cases wherejedi
is disabled. - Fix issue where devices with negative z would not load from
happi
.
Maintenance
- Update the hutch environment templates.
v1.8.0 (2020-10-23)
Features
- Include the beam_stats and lcls objects in every hutch python session.
- Enable scan PVs for all consumers (instead of starting as disabled).
Bugfixes
- Fix load order so that beamline and experiment files happen as late as possible.
v1.7.0 (2020-10-21)
Features
- Alert and show the user the full traceback when there are issues loading
user files like beamline and experiment files. - Ask the user if it is okay to proceed with the user file loading failure,
which typically renders the session useless, rather than just
passing over the issue.
v1.6.1 (2020-10-07)
Features
- Expand motors group to have all positioners.
- Add detectors (d) namespace for ami detectors.
- Time safe_load and report duration.
- Add a few simulated motors by default in a sim namespace.
Fixes and Maintenance
- Pass hutch name to daq to avoid calling get_hutch_name, which can be slow.
- Disable tree namespace until issues are resolved.
Note: this is a re-tag of v1.6.0, which failed the anaconda upload
v1.6.0 (2020-10-07)
This is re-tagged as v1.6.1 with a working anaconda upload
Features
- Expand motors group to have all positioners.
- Add detectors (d) namespace for ami detectors.
- Time safe_load and report duration.
- Add a few simulated motors by default in a sim namespace.
Fixes and Maintenance
- Pass hutch name to daq to avoid calling get_hutch_name, which can be slow.
- Disable tree namespace until issues are resolved.
v1.5.1 (2020-10-02)
Fixes and Maintenance
- Remove jedi tab completion again, again