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

calcmom in SdssShape.cc has poor error reporting

    XMLWordPrintable

Details

    • Improvement
    • Status: Won't Fix
    • Resolution: Done
    • None
    • meas_base
    • None
    • 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

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

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

            People

              Unassigned Unassigned
              rowen Russell Owen
              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.