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

calcmom in SdssShape.cc has poor error reporting

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_base
    • Labels:
      None
    • Team:
      Data Release Production

      Description

      calcmom does much of the work in SdssShape.cc, but it returns -1 if it fails for any reason. Please enhance it to raise an exception with an informative error message. That would also simplify the code that calls it, and make that code more robust.

      Other code cleanups are also worth considering, since calcmon is C code with a n old C-style interface.

        Attachments

          Issue Links

            Activity

            Hide
            wittgen Matthias Wittgen added a comment -

            DM-30163 addresses the error reporting issue. Closing this as a duplicate.

            Show
            wittgen Matthias Wittgen added a comment - DM-30163 addresses the error reporting issue. Closing this as a duplicate.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rowen Russell Owen
              Watchers:
              Jim Bosch, John Swinbank, Matthias Wittgen, Paul Price, Russell Owen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.