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

Move basic utility code from ts_salobj to new package ts_utils

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Sprint:
      TSSW Sprint - Aug 30 - Sep 13
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      Move the following out of ts_salobj into new package ts_utils:

      • time functions such as current_tai
      • angle functions such as angle_diff and angle_wrap_center
      • test utilities such as modify_environ and assert_angles_almost_equal (rename from assertAnglesAlmostEqual)
      • make_done_future

      Add trivial backward compatibility wrappers to ts_salobj that issues deprecation warnings and then call the new function in ts_utils.

      Update ts_salobj to use the new versions (but continue to test the trivial backward compatibility wrappers).

        Attachments

          Issue Links

            Activity

            No work has yet been logged on this issue.

              People

              Assignee:
              rowen Russell Owen
              Reporter:
              rowen Russell Owen
              Reviewers:
              Wouter van Reeven
              Watchers:
              Russell Owen, Tiago Ribeiro, Wouter van Reeven
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.