Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-29902

salobj.CscCommander mishandles bool command arguments

    XMLWordPrintable

Details

    • 0
    • TSSW Sprint - Apr 26 - May 10
    • Telescope and Site
    • No

    Description

      salobj.CscCommander tries to use the bool function to handle command arguments, which results the argument always treated as true. Preferably use a dict of values (e.g. 0/f/1/t, but a simpler option is to use bool(int(arg)).

      Attachments

        Activity

          rowen Russell Owen added a comment - - edited Pull request: https://github.com/lsst-ts/ts_salobj/pull/190

          Reviewed on GitHub. Looks good to me.

          wvreeven Wouter van Reeven added a comment - Reviewed on GitHub. Looks good to me.
          rowen Russell Owen added a comment -

          Released ts_salobj v6.3.5

          rowen Russell Owen added a comment - Released ts_salobj v6.3.5

          People

            rowen Russell Owen
            rowen Russell Owen
            Wouter van Reeven
            Russell Owen, Wouter van Reeven
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Jenkins

                No builds found.