Skip to content

v0.3.0

Compare
Choose a tag to compare
@ZLLentz ZLLentz released this 06 Apr 17:40
· 888 commits to master since this release
6044411

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:

Other Changes:

  • qs.cfg renamed to web.cfg because it's not used only for the questionnaire. Backwards compatibility will be retained. (#91)

Bug Fixes:

  • We are no longer creating 1-item metadata objects, as these are confusing and look wonky, e.g. safe_load will no longer spawn the safe.load name, unless we start adding other safe_ objects. (#85)
  • db.txt is created in all-write mode (#94)