v0.3.0
Features Added:
- In-terminal bug reporting! See https://pcdshub.github.io/hutch-python/report.html. Operators will be able to report bugs directly to GitHub by using the
report_bug
function an IPython shell. This gathers log messages and environment information to help easily capture bug information in the field (#92)
%report_bug my_buggy_function()
- Port of the old python
presets
system. It works largely the same way, except the files are more readable and you can choose whether you want a preset to be permanent or just for an individual experiment experiment (#95):
my_motor.presets.add_hutch('important_pos', 32.4)
my_motor.presets.add_exp_here('sample')
my_motor.mv_sample()
- Objects from the questionnaire are included in the experiment object. (#84)
- Experiment object is always included, even without an experiment file, because of the previous point. (#84)
API Breaks:
- Daq platform map is no longer stored in-module. Hutches that want per-machine daq platform or a platform other than 0 need to include the new
daq_platform
section in theirconf.yml
. See https://pcdshub.github.io/hutch-python/yaml_files.html#daq-platform (#99)
Other Changes:
qs.cfg
renamed toweb.cfg
because it's not used only for the questionnaire. Backwards compatibility will be retained. (#91)