Skip to content

Minor Release v5.2.0

Compare
Choose a tag to compare
@slacrherbst slacrherbst released this 21 Jul 21:18
· 1634 commits to main since this release
503e6d6

Pull Requests Since v5.1.1

Bug

  1. #706 - Ensure varUpdate gets called when var->set() is called

Unlabeled

  1. #707 - Adding tests/test_enum.py
  2. #710 - Update build.rst
  3. #709 - Use PyDMLabels for read only variables
  4. #708 - Fix incorrect format string specifier

Pull Request Details

Ensure varUpdate gets called when var->set() is called

Author: Ryan Herbst [email protected]
Date: Mon Jul 20 18:37:39 2020 -0700
Pull: #706 (33 additions, 12 deletions, 2 files changed)
Branch: slaclab/ESROGUE-461
Issues: #706
Jira: https://jira.slac.stanford.edu/issues/ESROGUE-461
Labels: bug

Notes:

varUpdate was not being called properly when forceCheckEach was set.


Adding tests/test_enum.py

Author: Ryan Herbst [email protected]
Date: Tue Jul 21 09:14:09 2020 -0700
Pull: #707 (108 additions, 0 deletions, 1 files changed)
Branch: slaclab/ESROGUE-432
Jira: https://jira.slac.stanford.edu/issues/ESROGUE-432

Notes:

Description

  • test script for variable enum to check for corner cases and improve overall code coverage

Fix incorrect format string specifier

Author: Ryan Herbst [email protected]
Date: Tue Jul 21 10:50:36 2020 -0700
Pull: #708 (2 additions, 2 deletions, 1 files changed)
Branch: slaclab/format-str
Issues: #708

Notes:

Fixes the following warnings when compiling on a Mac:

/Users/bareese/rogue/src/rogue/interfaces/memory/Variable.cpp:497:75: warning: format specifies type 'long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
   printf("\nVariable c++ get: Read %li times in %f seconds. Rate = %f\n",count,durr,rate);
                                    ~~~                                   ^~~~~
                                    %llu
/Users/bareese/rogue/src/rogue/interfaces/memory/Variable.cpp:509:76: warning: format specifies type 'long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
   printf("\nVariable c++ set: Wrote %li times in %f seconds. Rate = %f\n",count,durr,rate);
                                     ~~~                                   ^~~~~
                                     %llu

Use PyDMLabels for read only variables

Author: Larry Ruckman [email protected]
Date: Tue Jul 21 13:31:24 2020 -0700
Pull: #709 (14 additions, 8 deletions, 4 files changed)
Branch: slaclab/ESROGUE-457
Issues: #709
Jira: https://jira.slac.stanford.edu/issues/ESROGUE-457

Notes:


Update build.rst

Author: Ryan Herbst [email protected]
Date: Tue Jul 21 12:49:01 2020 -0700
Pull: #710 (8 additions, 23 deletions, 1 files changed)
Branch: slaclab/ESROGUE-462
Jira: https://jira.slac.stanford.edu/issues/ESROGUE-462

Notes:

Description

  • Updating instructions to use the pip_requirements.txt file
    • so we don't need to maintain the pip requirements in multiple locations
  • Added python3-pyqt5.qtsvg to Ubuntu
    • Required for PyDM GUI